Why jsp is used if we have sevlets

This question is related to Oracle Interview

Showing Answers 1 - 2 of 2 Answers

erosy

  • Mar 26th, 2005
 

1.We need not have to write multiple println in JSP but in Servlet. 
2.For running servlet we need not to restart the server multiple time. 

  Was this answer useful?  Yes

Anand

  • Apr 26th, 2005
 

JSP is created as a HTML page and ccan be visually created using tools like Dreamweaver or Frontpage. This gives an ability to GUI creator to create a page visually appealing. 
Servlets are meant to process requests for data. 
Servlets cannot be visually created and hence GUI creators have a tougher time creating GUI. 
JSP offers separation of responsibility. GUI creators can create the GUI and hand it off to Java developers who will develop the Java code for it.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions