When to use servlert and when to use JSP?

When to use servlert and when to use JSP?

Hi, i am confuse about when to use servlert and when to use JSP?

View Answers

February 24, 2008 at 2:38 PM

When to use servlert and when to use JSP:

JSP
Use JSP where the complexity of the HTML is the most important
thing / or where non-programmer HTML authors have to maintain the
site. JSP is used to develop the frontend of the applications like data entry forms, reports and query forms.


Servlet
Use servlets where computation is the most important thing or where binary content such as images must be generated.
Servlet can be used for back-end processing like inserting data into database. Search the database to produce report data.



Thanks









Related Tutorials/Questions & Answers:
when to use ArrayList and when to use HashMap - Java Interview Questions
When should you use Docker
Advertisements
Example for when to use ArrayList and when to use HashMap - Java Interview Questions
.When to use detached criteria in hibernate?
JSP1
JSP2
When would you use the Builder Pattern?
When would you use the Builder Pattern?
When are you supposed to use endif to end the conditional statement?
get UnsatisfiedLinkError when I try to use my JDBC driver.
how to create own tld and use it in jspx file
how to create own tld and use it in jspx file
When should you use Hibernate?
When to Use Docker?
JSP JSTL c:when tag
ModuleNotFoundError: No module named 'when'
When was Ai invented?
when will we get JasperException and parseException?
When will you define a method as static?
ModuleNotFoundError: No module named 'when-changed'
ModuleNotFoundError: No module named 'when-will-it-end'
ModuleNotFoundError: No module named 'edx-when'
When finally block is not executed in Java?
When finally block is not executed in Java?
When is java main method called?
Version of com.rabriel>given-when-then dependency
getting an error when set classpath
objective-c when is loadview called
page is not getting loaded when refreshing???
Works when run from desktop but....
Prompt for a password when deleting a data
Jstl c:when,c:choose,c:otherwise tag in jsp
Java errors when attempting the following.
When should I learn tensorflow
When should I learn tensorflow
ModuleNotFoundError: No module named 'jspp'
ModuleNotFoundError: No module named 'JSPy'
InputSecret field becomes empty when page is reloaded
How to threow timeout exception when DB is not responding
How to threow timeout exception when DB is not responding
ModuleNotFoundError: No module named 'txt_when_done'
Maven Dependency given-when-then >> 0.1.2
Login Box appears when a button on the webpage is clicked
Login Box appears when a button on the webpage is clicked
Login Box appears when a button on the webpage is clicked
automatically resend when connection lost in sending email
automatically resend when connection lost in sending email
automatically resend when connection lost in sending email
destroy thread when server stoped - Java Beginners
Version of com.englishtown>vertx-mod-when dependency

Ads