waht is the main diference b/w servelts and JSP ?

Answer Posted / ravindra nhavi

the main different is jsp only depend on HTTP protocol
but servlet support for HTTP,SMTP,FTP protocol

In jsp you directly embeded java code in to the html code
but is in servlet is not posible.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's the advantages using servlets than using cgi?

547


What is the difference between servlet and filter?

516


What is a servlet context object?

614


Why doesn’t a servlet include main()?

550


What is URL Encoding?

609






why we should override only no-agrs init() method.

667


What is http servlet in java?

549


What is a servlet-to-servlet communcation?

635


What are the different methods involved in the process of session management in servlets?

653


How do I support both get and post from the same servlet?

684


Differentiate between the print writer and servlet output stream?

549


Is it good idea to create servlet constructor?

730


Why servlet is faster than jsp?

554


What are the advantages of Servlet over CGI?

654


What is difference between get and post method?

565