waht is the main diference b/w servelts and JSP ?
Answer Posted / anurag joseph
there are minor difference btw these two.Servlet is used
for processing afterall containter is servlet engine.It
perform many task like load balancing,request
processing,generating image on fly.But if we want to
responce an html format than this is not efficient.thats
why jsp is needed.jsp is java inside Html and servlet is
like html inside java.JSP is used for graphical user
interface. it focus upon presentation not business logic
and processing.
Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
What is the difference between servlet and jsp?
What is the
What are the servlet events?
What is the use of httpservletrequestwrapper?
What is difference between jsp and servlet?
Explain Action Servlet?
What is the disadvantage of cookies?
How can we perform any action at the time of deploying the project?
What is the directory structure of web application?
Whats the advantages using servlets over using CGI?
Differentiate between the print writer and servlet output stream?
What do you understand by mime type?
What is life cycle of Servlet?
Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?
What are the different methods involved in generic servlet?