What is the difference between servlets and jsp

Showing Answers 1 - 4 of 4 Answers

bishwajeet

  • Oct 26th, 2005
 

servet is perdefine complie by programmer,but jsp compile by the server

  Was this answer useful?  Yes

Rajesh

  • Nov 1st, 2005
 

RAJESH WROTE: in servlets, we canot seperate the presentation logic from business logic.where as in jsp we can seperate the presentation logic from business logic.in jsp compilisation is two stages.

  Was this answer useful?  Yes

shanthini

  • Nov 6th, 2005
 

Servlet:

    we used to call HTML in java program

JSP:

 we call java in HTML

this is the simple logic, i dint in touchup with the presentation and application sketches.

 

  Was this answer useful?  Yes

srinivas

  • May 17th, 2006
 

hi,

Both are web applications used to produce web content that mean dynamic web pages. Both are used to take the requests and service the clients. The main difference between them is, In servlets both the presentation and business logic are place it together. Where as in jsp both are separated by defining by java beans .

 In jsp's the overall code is modulated so the developer who doesn't know about java can write jsp pages by simply knowing the additional tags 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.


ok baye...................

keeps smiling and mailing

bora_srinivasarao@yahoo.co.in

if any want java material & doubts regarding j2se ,j2ee plz send mail to

bora_srinivasarao@yahoo.co.in

Note:if possible i will clarify doubts.but i send java material.

  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