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 is load-on-startup in servlet?
What are its drawbacks of cgi?
What are the types of servlets? Explain
What exactly are the functions of servlet?
Why do we use sendredirect() method?
What is the difference between Server and Container?
What is the use of request dispatcher interface?
Why do we need servlet filter?
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?
Difference between doget and dopost?
What do you mean by default initialization in java servlet?
What do you mean by a filter and how does it work?
What do you mean by url pattern in servlet?
What are the different methods of session management in servlets?
Explain request dispatcher and its methods.