what is the difference between Servlet and JSP?Advantage of
JSP over Servelt?Any concept present in JSP which we cant
implement in Servlet?
Answer Posted / ramaswamy ratnala
servlets and jsp both are webapplications to produce the
content means dynamic webpages .both takes the request
parameters to serve the clients
2)application logic and presentation logic are tightly
coupled .application logic cannot support to give the
presentation logic
3)servlets are faster compare to the jsp because jsp files
can be converted to the servlet ie its a time taking process
4) in jsp java code directly embeded into the html code
5) in servlets deployment process is needed i.e web.xml
in jsp no need to write the web.xml file it is
automatically converted to the jsp to servlets
6) in jsp contains the ExpressionLanguage if in our
application development use EL to reduce the application
development time
| Is This Answer Correct ? | 48 Yes | 16 No |
Post New Answer View All Answers
what do you understand by url rewriting?
What is the GenericServlet class?
Explain Action Servlet?
Tell us something about servletcontext interface.
What are the differences between forward() method and sendredirect() methods?
What do you mean by httpservlet?
Explain the custom jsp tags and the beans.
What is called Session Tracking?
What are the type of protocols used in httpservlet?
What is a web application and what is it’s directory structure?
What is cookie? Why is cookie used?
how many jsp scripting elements are there and what are those?
What is Client-Server Computing?
What are the advantages of servlets over traditional cgi?
Which event is fired at the time of setting, getting or removing attribute from application scope?