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
Which HTTP method is non-idempotent?
What is servletconfig?
How do you configure a centralized error handler in servlets?
What is the difference between the http servlet and generic servlet?
Who is responsible for writing a constructor?
What is servlet container?
What are the functions of the servlet container?
What do you mean by cgi and what are its drawbacks?
How do you create a cookie using servlet?
What is difference between get and post method?
Can we use threads in Servlets?
What's the servlet interface?
Which java application server is the best?
What do you mean by session tracking and also explain its techniques?
What do you mean by scope object and what are its types?