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 / aarti
servlet Jsp
1
servlets are java classes jsp is not
2
consist of an html file
for static content &java file contains java code
for dynamic content embeded directly to
in an html page by
using special tags.
| Is This Answer Correct ? | 67 Yes | 65 No |
Post New Answer View All Answers
What are the type of protocols used in httpservlet?
What is the use of httpservletresponsewrapper?
Which exception is thrown if the servlet is not initialized properly?
What does the term localization refer to?
What are the servlet events?
Which method of the httpservletrequest object is used?
How we can get ip address of client in servlet?
What is a deployment descriptor?
How is the get () method different from the post() method?
What is the use of servletconfig interface?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
Can we use the constructor, instead of init(), to initialize servlet?
Can we fetch the attributes related to a servlet on a different servlet?
What’s the difference between forward() and sendredirect() methods?
Which HTTP method is non-idempotent?