Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
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.
|
|
|||
|
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
|
|
|||
|
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 |
|
|||
|
Re: Why We need JSP
Quote:
within the browser.
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|