Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Whats the difference between JSP and servlets?

difference JSP servlets
0
Posted

Whats the difference between JSP and servlets?

0

Ultimately, servlets and JSP are the same thing. When you deploy JSP documents, the servlet container generates Java source code from the text and tags, then compiles the source to create servlet classes. The JSP servlet classes are then used to service requests the same way as standard servlets. The key difference is the way the way the servlet source is created; as a standard Java source file, or a template that is essentially an HTML document with JSP tags. Actions: Follow-up, clarify or correct this answer. Submit a new question.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123