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 / abilash
servlet: its a java class so for every change we have to
compile the code to reflect the change.Mainly using for
writing business logics.
jsp:its a file, its automatically converted into a servlet
on deploying. We can't compile it explicitly.the changes
will get reflect by saving the file.Its mainly used for
presentation of data
| Is This Answer Correct ? | 235 Yes | 41 No |
Post New Answer View All Answers
What is the difference between Servlets and Applets?
What is servlet looping or chaining?
What’s the difference between forward() and sendredirect() methods?
Elucidate servlet attributes and its scope?
How does tomcat servlet container work?
What are the uses of servlet and what is servlet chaining?
What is servlet in simple terms?
How is the get () method different from the post() method?
How do we translate jsp?
Explain web application directory arrangement?
What are the supporting protocol by HttpServlet ?
What is the difference between genericservlet and httpservlet
Which event is fired at the time of setting, getting or removing attribute from application scope?
Does servlet have main method?
why we should override only no-agrs init() method.