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
Can filter be used as request or response?
What is the workflow of a servlet?
Difference between doget and dopost?
Which httpsession object is used to view and manipulate information about a session?
What are the advantages of servlets over traditional cgi?
What is the difference between encodeRedirectUrl and encodeURL?
What do you mean by cgi and what are its drawbacks?
request parameter how to find whether a parameter exists in the request object?
Can we override destroy method in servlet?
What is the major difference between servlet and applet?
If some new data has entered the database, explain how can a servlet refresh automatically?
Why are servlets used?
I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>
Which event is fired at the time of session creation and destroy?
How can you push data from an Applet to a Servlet?