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
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
What is the web server used for running the Servlets?
What are different ways for servlet authentication?
What is the directory structure of a war file?
How do you load an image in a Servlet?
How do I use cookies to store session state on the client?
Is servlet a framework?
Which are the different ways you can communicate between servlets?
Which application server is best for java?
Why is a constructor needed in a servlet even if we use the init method?
A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?
What do you mean by session tracking and also explain its techniques?
Why is Servlet so popular?
What are advantages of servlets over cgi?
What is servletconfig?