what is the difference between Servlet and JSP?Advantage of
JSP over Servelt?Any concept present in JSP which we cant
implement in Servlet?
Answer Posted / sushrut
1)servlet is like html inside java code and jsp is like java code inside html
2)jsp have predefined variables(request,response,session),
whether servlet haven't.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the key methods that are involved in processing of http servlets?
How will you pass values from HTML page to the servlet?
what do you understand by url rewriting?
Why do you use session tracking in httpservlet?
What are the uses of servlet
What is the importance of init() method in Servlet ?
What is the capacity the doget can send to the server?
Servlet is pure java object or not?
What are the different methods involved in the process of session management in servlets?
If some new data has entered the database, explain how can a servlet refresh automatically?
What are the steps that are required to handle the multi-threading?
What do you mean by cgi in servlet?
Which event is fired at the time of setting, getting or removing attribute from application scope?
Can servlet have a constructor ?
Why HttpServlet class is declared abstract?