You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hudson Wong <hw...@technologypartnersgroup.com> on 2003/02/18 04:36:38 UTC

Precompiled JSP looks slower that non compiled !!!

This is my first time using precompiled JSP with tomcat and I want to find
out if I have do some wrong. My environment is.

Tomcat: 4.0.4
JDK: Sun 1.3.1
OS: Windows 2000 SP 1

I have used jspc to compile all jsps and put corresponding classes under
WEB-INF/classes and modify the web-xml to include the setting generated by
jspc.

When I access the page, the CPU usage going up to 100% and hasn't drop down
for a long time for example 1 minute? For non compiled,  it may just use at
most 5 second. The page also take a long time to respond.

My jsp's use a lot struts and tile tags. Anyone has similar experience and
can tell me what is missing? Thank you very much.

Our deployment server is actually Borland Enterprise Server and thus it is
impossible for us to switch 4.1.8.

Regards,

Hudson Wong