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 / abilash
servlet: its a java class so for every change we have to
compile the code to reflect the change.Mainly using for
writing business logics.
jsp:its a file, its automatically converted into a servlet
on deploying. We can't compile it explicitly.the changes
will get reflect by saving the file.Its mainly used for
presentation of data
Is This Answer Correct ? | 235 Yes | 41 No |
Post New Answer View All Answers
Can you explain in detail 'javax.servlet' package?
What is servlet in simple terms?
What is difference between GenericServlet and HttpServlet?
Define context initialization parameters.
What is cookies in servlet with example?
How do you configure a centralized error handler in servlets?
What is the directory structure of web application?
What is cgi and what are its drawbacks?
What is servlet and list its types?
Why is http protocol called as a stateless protocol?
What is Servlet API used for connecting database?
What are the differences between forward() method and sendredirect() methods?
What is the workflow of a servlet?
What is the difference between CGI and Servlet?
How would you create deadlock on your servlet?