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


Please Help Members By Posting Answers For Below Questions

What are the different session tracking techniques?

678


Why don't we write a constructor in a servlet?

592


Explain the difference between generic servlet and http servlet?

541


Differentiate between the get and post method

565


What does the term localization refer to?

584






Describe in brief RequestDespatcher?

596


Explain url encoding?

519


What are all the ways for session tracking?

593


How to get the server information in a servlet?

685


What are the difference between RMI and Servlets?

1049


What is the life cycle of a servlet?

789


What do you mean by singlethreadmodel interface?

579


What is difference between server and servlet?

579


What is servlet lazy loading?

695


Explain request dispatcher and its methods.

583