Results 1 to 11 of 11

Thread: Why We need JSP

  1. #1
    Junior Member
    Join Date
    Oct 2007
    Answers
    1

    Why We need JSP

    Where we need JSP?
    i.e What is the main purpose of JSP?
    Why We need JSP?


  2. #2
    Contributing Member
    Join Date
    Sep 2006
    Answers
    42

    Re: Why We need JSP

    JSP is used for the design of a web page and servlet is used to code the logic that is present i.e. in the MVC (Model-View-Controller) architecture, the servlet is the controller and the JSP is the view.


    Regards,
    Sahil.



    --Smile it makes people wonder what you are thinking.


  3. #3
    Junior Member
    Join Date
    Jul 2007
    Answers
    12

    Re: Why We need JSP

    JSP is actually developed to
    1. lower the burden on the developer as the Servlet coding developement will be taken care by jsp compiler and can make use of some implicit variables.
    2. allow a non-java programmer can make use of JSP to develop a web application by knowing only a few tags and their usage.
    3. to resemble the MVC arch.


  4. #4
    Junior Member
    Join Date
    Oct 2007
    Answers
    1

    Re: Why We need JSP

    it is one of the easiest way of creating dynamic webpages


  5. #5

    Re: Why We need JSP

    JSP is used for the design of a web page.The presentation(View) may always change in the real time applications like Google and all those,by using the JSPs as a presentation there is no need to restart the server when the view is changed. and it will seperate the presentation logic from the business logic.


  6. #6
    Junior Member
    Join Date
    Sep 2009
    Answers
    2

    Re: Why We need JSP

    Javaserver pages (jsp) is a server side java technology that allows software developers to create dynamically generated web pages, with html, xml, or other document types, in response to a web client request to a java web application container (server). Architecturally, jsp may be viewed as a high-level abstraction of java servlets. Jsp pages are loaded in the server and operated from a structured special installed java server packet called a j2ee web application often packaged as a .war or .ear file archive. Nitin


  7. #7
    Junior Member
    Join Date
    Dec 2008
    Answers
    7

    Re: Why We need JSP

    The two main uses of jsps are:

    1) Using jsp's we can can seperate the presentation logic from business logic very easily(we can also do the same using the servlets but difficult)

    2) Even a web author can easily develop the code ,in the sence a person who doesnt know anything about java can also develop the jsps using the tags

    Thx,
    Amit Jain


  8. #8

    Re: Why We need JSP

    Quote Originally Posted by 100881 View Post
    Where we need JSP?
    i.e What is the main purpose of JSP?
    Why We need JSP?
    we need jsp in order to view the implementations of the servlets and beans
    within the browser.



  9. #9
    Junior Member
    Join Date
    Nov 2009
    Answers
    1

    Re: Why We need JSP

    Where we need JSP?

    If your webpage wanna show dynamic data,we can go for JSP.

    What is the main purpose of JSP?

    JSP , is a light weight code.It will make the presentation part simpler(user view).Its only purpose is to accept data(static/dynamic) from business logic and present it to the user.Doesnt want to bother about heavy BackEnd coding.

    Why We need JSP?

    Platform independent,Easy to design(Java knowledge is not mandatory)


  10. #10
    Junior Member
    Join Date
    Apr 2008
    Answers
    4

    Re: Why We need JSP

    JSP is server side programming (Java Server Pages).It is mainly used to developed dynamic web pages. Another important thing is that you can easily create a JSP page using html tags. You can include java codes inside the JSP page using different tags like scriptlet,declarative,etc.

    It is more difficult to write and maintain html tags in servlet,so jsp was introduced.


  11. #11
    Junior Member
    Join Date
    Mar 2010
    Answers
    1

    Re: Why We need JSP

    This JSP is a HTML document that can be used to make a dynamic page. Inside a JSP we can use Java coding, tags, java beans etc.

    A JSP is needed to do the presentation task very easily with dynamic web contents.

    read http://servlet-jsp.blogspot.com/2010_02_01_archive.html


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact