diffrence between jsp and servelts.

Answer Posted / yuga.reddi08

Jsps are good at presentation and servlets are good at
ApplicationLogic(Controller).Excution time for Jsps are
more comapared to Servlet because at 1st request coming
from Jsp then Jsp translator is converted into servlet and
then processing..Servlet are precompile but jsp are
complilec by container.
Jsps are Html inside java code where as servlets are Java
inside Html.

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Have you used threads in Servelet?

1925


Which class is the immediate superclass of the menucomponent class?

611


What is a class loader? What are the different class loaders used by jvm?

576


What are transaction attributes?

608


What is glasgow?

575






Which container method is used to cause a container to be laid out and redisplayed?

657


Describe, in general, how java's garbage collector works?

530


For which statements does it make sense to use a label?

577


Explain the difference between object state and behavior?

558


How to deploy Jar, War files in J2EE?

2161


What is the highest-level event class of the event-delegation model?

564


What is ioc concept & explain it?

606


What restrictions are placed on the location of a package statement within a source code file?

608


What is scalable, portability in the view of J2EE?

1865


What value does readline() return when it has reached the end of a file?

578