Prepare for your Next Interview
This is a discussion on Why We need JSP within the JSP forums, part of the Web Development category; Where we need JSP? i.e What is the main purpose of JSP? Why We need JSP?...
|
|||
|
Why We need JSP
Where we need JSP?
i.e What is the main purpose of JSP? Why We need JSP? |
| The Following User Says Thank You to 100881 For This Useful Post: | ||
| Sponsored Links |
|
|||
|
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. ![]() |
| The Following 2 Users Say Thank You to SahilKabra For This Useful Post: | ||
|
|||
|
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. |
|
|||
|
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.
|