waht is the main diference b/w servelts and JSP ?
Answer Posted / vaibhav
The major difference is that JSP files are dynamically
compiled at the time of request whereas the servlets had to
be compiled before the server is started. Evrytime the file
is modified, it is to be compiled manually and the server
needs to be restarted. This does not happen in JSp where
files are automatically compiled at the time of request and
the server need not be restarted.
Is This Answer Correct ? | 17 Yes | 3 No |
Post New Answer View All Answers
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
Difference between forward() method and sendredirect() method ?
What is servlet used for?
How do I use cookies to store session state on the client?
How can the referrer and the target urls be used in servlet?
request parameter how to find whether a parameter exists in the request object?
how the HTML data stored in web server?
Why doesn’t a servlet include main()?
What is the life cycle of a servlet?
Explain the war file?
What is the advantage of Servlets when compared with other server side technologies?
What are the objects involved when a servlet receives a call from client?
Which interface should be implemented by all servlets?
How do you invoke a Servlet? What is the difference between doPost method and doGet method?
What is cookie in servlet?