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 / r b arumugam
Java Servlet is a Java File and is converted into .class
file. If there is any changes in Servlet we must compile
once again.
JSP is a HTML file and java coding is embedded into it. The
JSP page is automatically compiled. There is NO deplyment
descriptor file in JSP as web.xml
Servlet is fully java coding and JSP is a collection of
HTML,JSPtag,JSTL
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
What is the structure of the http response
Why session tracking is needed?
Difference between forward() method and sendredirect() method ?
What is http servlet in java?
How do cookies work in servlets?
Which event is fired at the time of setting, getting or removing attribute from application scope?
What do you mean by httpservlet and how it is different from the genericservlet?
What is the disadvantage of cookies?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
Is java servlet still used?
How are filters?
Which http method is said to be non-idempotent and idempotent?
What is servlet used for?
How can a servlet be used to generate plain text instead of html?
How can we implement a jsp page?