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 / chandra
servlet: its a java class so for every change we have to
compile the code to reflect the change.Mainly using for
writing business logics.
jsp:its a file, its automatically converted into a servlet
on deploying. We can't compile it explicitly.the changes
will get reflect by saving the file.Its mainly used for
presentation of data.
Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What is a web application and what is it’s directory structure?
What do you mean by cgi in servlet?
How does tomcat servlet container work?
What methodology can be followed to store more number of objects in a remote server?
What is servlet lazy loading?
What is cgi and what are its drawbacks?
How do you invoke a servelt?
Define context initialization parameters.
Tell us something about servletconfig interface.
Why filter is used in servlet?
Which httpsession object is used to view and manipulate information about a session?
Explain mvc pattern.
What's the advantages using servlets than using cgi?
Explain in brief the directory structure of a web application?
What is http servlet? Explain with the help of an example.