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 / mkj
1 in jsp we can edbed the code in html tag even we can
create on tag. in servlet we must create java files .
2. for jsp there is no deployment mean web.xml is required
but servlet it required.
3 fast development in jsp but in servlet d process is long .
4.there is diffrence in compilation process..
Is This Answer Correct ? | 26 Yes | 40 No |
Post New Answer View All Answers
What do you mean by deployment descriptor?
What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?
How can you create a session in servlet?
Can we refresh servlet in client and server side automatically?
Difference between get and post in java servlets?
What is URL Encoding?
What are the different ways we can maintain state between requests?
Can we override destroy method in servlet?
How does java thread pool work?
What is servlet looping or chaining?
What is setattribute in servlet?
How forward () method is different from send redirect () method?
What are the different mode that servlets can be used?
What are the kinds of http requests?
What are the difference between RMI and Servlets?