waht is the main diference b/w servelts and JSP ?
Answer Posted / surendra
Jsp is nothing but a servlet
By using jsp we can seperate presentation logic from
bussinesslogic
The report that generate to the enduser must be placed in
jsppage
All the database operations must be placed in a javabean
so that we can easily modify the application if required
To simplify the development of the application jsp is used
rather than servlets.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What do you mean by mime type?
Explain web container.
What do you mean by scope object and what are its types?
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 do you mean by annotations in servlet?
What do you mean by cgi?
What is servlet in web technology?
How can you run a servlet program?
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?
What is the difference between jsp and servlet life cycle?
What is MIME Type?
What is the purpose of requestdispatcher interface?
What are the mechanisms used by a servlet container for maintaining session information?
What is a servlet engine?
What is servlet instance?