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 servlets and Java Server Pages (JSP)?

0
10 Posted

Whats the difference between servlets and Java Server Pages (JSP)?

0
10

The essential difference is the style of programming. JSP is closer to ASP and PHP, where the logic and content lie on the same page. JSP is dynamically compiled to a servlet when it is run, so the performance is bounded by the same limitations. However, servlets tend to promote better programming disciplines, and tend to be cleaner, as they are programmed with a different attitude since integration of content and logic is not as straight forward. Both of these are usually harder to configure than jaminid. There are plenty of resources available that cover this area; here’s a good servlet starting point from Sun, and here’s an over view of Java Server Pages (JSP).

Related Questions

What is your question?

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

Experts123