surya
Answered On : Jan 3rd, 2006
Advantages of Servlets over jsps:-
(1)servlets are comparatively faster than jsps.
Advantages of Jsps over servlets:-
(1)Easy to write and maintain and comparatively developer friendly
(2)Developer provided with implicit objects that reduces burden
(3)You can mix jsp code and html code together in a single page
Login to rate this answer.
The first step is to understand the difference between the two..
1. JSP is mailny used for displaying data but servlet is used for providing the business logic
2. JSP can support only HTTP protocol where as Servlet can support other protocols
3. JSP is a seperation between a java class and the display page through java beans but servlet is not
4. JSP provides some implicit objects such as request and response where as you have to specify that in servlet
5. Servlets are faster than JSP because JSP is a tool intoduced to ease the process.
6.The main advantage of JSP is the seperation of the display and business ligic parts.
I think this would be enough for you to decide on selecting the technology to be used..
Login to rate this answer.