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
Why is Servlet so popular?
Why do we use sendredirect() method?
How can we achieve transport layer security for our web application?
Explain in brief the directory structure of a web application?
When Servlet is unloaded?
When servlet object is created?
What is the need of session tracking in web application?
Can we override servlet service method?
What is the difference between servlet and filter?
Explain servlet life cycle?
How is an application exception handling is done using a servlet?
What is the difference between genericservlet and httpservlet
What is servlet collaboration?
Who is responsible to create the object of servlet?
What is servlet and its advantages?