Jan Burse schrieb:
But advantage of JSP is that it is readily
available. And its actually very old, already
around 1990. But you will not hear some praise
of it from me.
A more profane reason not to use JSP is the
fact that it polutes the perm spaces of Java.
One JSP is compiled into a class, and you can
even recompile without stopping/starting a
web context. This is a realy nice feature.
But Java perm spaces can be restricted, and so
it can be prohibitive to use JSP when you
have a great number of templates. This is
not so much a problem when you only need
a couple of templates to generate some DB
beans and other associate Java classes.
But it can be a problem in many other circum-
stances. So one can then lookup one of the
many template languages and processors on
the market, or one can roll an own template
language and processor (*).
different than any other classes.
use perm gen space.
classloader) then the space is released again.