Hi you all,
I'm new to the list maybe this stuff has been discussed several times.
If so I'm sorry to waist your time!
My point:
tomcat 3.2 compiles a JSP into a servlet which contains out.write()
calls which have ""-strings as arguments. As far as I understand Java,
each ""-string creates a new Object! Therefore each out.write() creates
a new object and this is true for each call to _jspService of the same
object. So many calls to one and the same page result in many more
objects.
So my proposal is to compile JSP ""-strings to something like:
class xyz {
static final String arr[] = { "uvw", "abc" ... };
_jspService(...) {
...
out.write(arr[234])
...
}
}
Peter
--
begin:vcard
n:Huber;Peter
tel;work:+49 (0) 89 66561-128
x-mozilla-html:FALSE
org:Gauss Interprise Consulting AG;Consulting JCD
adr:;;Witneystr. 1;Unterhaching;;82008;Germany
version:2.1
email;internet:[EMAIL PROTECTED]
title:Consultant (Dipl.Inf.)
fn:Peter Huber <[EMAIL PROTECTED]>
end:vcard