Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Jakarta Server Pages
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Criticism == According to Joel Murach and Michael Urban, authors of the book "Murach's Java Servlets and JSP", embedding Java code in JSP is generally bad practice.{{sfn | Murach | Urban | 2014 | loc=Β§1 Get started right - The JSP for the second page | pp=46-47}} A better approach would be to migrate the back-end logic embedded in the JSP to the Java code in the {{code|Servlet}}.{{sfn | Murach | Urban | 2014 | loc=Β§1 Get started right - The JSP for the second page | pp=46-47}} In this scenario, the {{code|Servlet}} is responsible for processing, and the JSP is responsible for displaying the HTML,{{sfn | Murach | Urban | 2014 | loc=Β§1 Get started right - The JSP for the second page | pp=46-47}} maintaining a clear [[separation of concerns]]. In 2000, Jason Hunter, author of "Java Servlet Programming" described a number of "problems" with JavaServer Pages.<ref name="problems">[http://servlets.com/soapbox/problems-jsp.html The Problems with JSP] (January 25, 2000)</ref> Nevertheless, he wrote that while JSP may not be the "best solution for the Java Platform" it was the "Java solution that is most like the non-Java solution," by which he meant Microsoft's [[Active Server Pages]]. Later, he added a note to his site saying that JSP had improved since 2000, but also cited its competitors, [[Apache Velocity]] and Tea (template language).<ref name="problems" /> Today, several alternatives and a number of JSP-oriented pages in larger web apps are considered to be technical debt.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Jakarta Server Pages
(section)
Add topic