Java Reference
In-Depth Information
Tim Says. . .
JSP Schmay Ess Pee
That's the response a lot of people have to JSP these days. But
the fact that most Stripes applications use JSP (as do the exam-
ples in this topic) shouldn't put you off. I'll tell you now, JSP isn't
nearly as bad as its haters would have you believe. It's true that
JSP 1.0 was pretty darn awful and that it got only moderately
better with version 1.1. At that point, many developers wrote
JSP off entirely and stopped paying attention.
Modern JSP development is a different story. With the introduc-
tion of the JSP Expression Language (nowadays just “the Expres-
sion Language,” or EL), the JSP Standard Tag Library (JSTL), and
JSP tag files (essentially custom tags written as JSP fragments),
JSP has moved past being painful and ugly to being a com-
petent and usable view technology. It is now easy to develop
pages without ever resorting to scriptlets!
A singular advantage of JSP over almost every other view tech-
nology out there today is by far and away better documenta-
tion, examples, and tool support. Every major IDE has a built-in
JSP editor, and there are hundreds of articles and books about
how to do JSP development. Chances are that developers on
your team and developers you interview are already familiar
with JSP—you won't find such a large pool of developers famil-
iar with other templating systems.
And if you really, truly cannot stomach the thought of using JSP,
Stripes works equally well with FreeMarker.
∗. http://www.freemarker.org . See http://www.stripesframework.org/display/stripes/FreeMarker+with+Stripes
for instructions on using FreeMarker with Stripes.
 
 
Search WWH ::




Custom Search