Hello All,

The compile time for my .jsp pages is extremely slow -- like 10 seconds
on a modern PC to the first time any page is run.  Painful during
development.

I can compile a vast amount of Java code in 2 seconds.  It is difficult
to imagine what could be happening within Jasper to be that slow.

I have been using the .tag facility to define custom tags fairly
heavily.  The pages are template driven, so that my top level JSPs
contain little or no actual HTML.  But there is not that much template
code -- an XML parser should be able to read the lot in a few tens of
milliseconds.

I suspect that there is something very specific that is causing the very
bad performance.  Have not started profiling.  I'd call this a bug.

Any ideas most welcome.

[Pre-compiling the JSPs would not help -- it would make things worse.
At least now I only need to wait for the recompile of the JSPs that I
actually want to test in a run.  Pre-compiling would require me to wait
for all the JSPs to recompile -- many minutes.  (One needs to blast the
Jasper work area regularly otherwise changes to .tag files do not get
reflected in .jsps)]

Anthony

[[My general comment would be for web development use Servlets, not
JSPs.  With a few well thought out templates you don't write much HTML
anyway, and using servlets ends the impedance mismatch, as well as much
of the pain...  But too late for me now.]]

--
Dr Anthony Berglas 
Ph. +61 7 3227 4410
(Mob. +61 42 783 0248)
[EMAIL PROTECTED]; [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to