Plz any body tell me why use jsp over servlet.what is the
benefit of jsp over servlet?

Answer Posted / taufeeq

JSP is a text based document that is used to write the code
in java language and any other scripting language like HTML.
We can develop the dynamic Webpages through the JSP
technology.

Servlet is used as a server side applet that works on
the server and recieves the client request through server
andafter process this request send the responce as the
result to the client through the server.
Servlet Does not use any scripting language.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is response sendredirect?

478


Explain the difference between servlet and jsp?

550


What are the types of directives in jsp?

518


Write a simple example for the clone() method.

501


What are jsp elements?

525






Explain lifecycle methods.

598


What are the jsp elements?

464


Can I stop jsp execution while in the midst of processing a request?

565


how can i update the marque in jsp without changing the sourse code

2209


Why is it not recommended to use script elements in jsp?

492


What is session tracking in jsp?

505


How does jsp engines instantiate tag handler classes instances?

488


Why do we use jsp?

505


Why don’t we need to configure jsp standard tags in web.xml?

522


What is a jsp and what is it used for?

542