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
How to upload a file to the server using servlet?
Does servlet have main method?
What is api in servlet?
Given the request path below, which are context path, servlet path and path info?
Can we override destroy method in servlet?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
What is the importance of init() method in Servlet ?
What’s the difference between forward() and sendredirect() methods?
What is a servlet engine?
What are the advantages of cookies?
How servlets are deployed in java?
What do you mean by session tracking and also explain its techniques?
If some new data has entered the database, explain how can a servlet refresh automatically?
What is a java servlet?
What is http servlet?