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 / shailaja
. The main difference between them is, In servlets both the
presentation and business logic are place it together.
Where as in jsp both are saparated by defining by java
beans .
In jsp's the overall code is modulated so the developer
who deesn't know about java can write jsp pages by simply
knowing the additional tages and class names.
One more important to be considered is servlet take less
time to compile. Jsp is a tool to simplify the process and
make the process automate.
Both are webapplications used to produce web content that
mean dynamic web pages. Bot are used to take the requests
and service the clients.
| Is This Answer Correct ? | 302 Yes | 74 No |
Post New Answer View All Answers
List out difference between a JavaBean from a Servlet?
What are the steps that are involved in using the httpservlet class?
How can we implement a jsp page?
Is servlet a server side scripting language?
How can you run a servlet program?
Can you create a deadlock condition on a servlet?
What are the steps that are required to handle the multi-threading?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
How does java thread pool work?
Explain Action Servlet?
What is the process to implement doget and dopost methods?
What is servlet configuration?
Describe in brief RequestDespatcher?
What is the use of welcome-file-list?
What is the difference between portlet and servlet?