In case you didn't know, you can precompile a specific jsp by simply making
a reqest to the page with a special paramter:
ttp://myapp/somepage.jsp?jsp_precompile
If you don't have a huge number of pages this might form the basis of a
quick and dirty hack.
Paul
-Original Message-
From:
Good tip ... thanks! I actually do have a lot of JSPs (especially tiles)
... so this probably won't work for me at this moment.
Paul McCulloch wrote:
In case you didn't know, you can precompile a specific jsp by simply making
a reqest to the page with a special paramter:
Try this out:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html#Web%20Application%20Compilation
You may need to do some tweeking, but it worked great for me.
[EMAIL PROTECTED] 10/31/03 09:13AM
I've been doing some googling on having a webapp precompiled when
deployed to
I am using tomcat 5.0.12 and struts 1.1 with tiles and have been successful in
precompiling. The tomcat documentation has a pretty good example. The hard part is
translating someone else's directory structure into yours to apply all the examples.
I posted my solution to my web site at
Thanks for the pointer to your blog, between that and the example
provided by the Tomcat docs, I was able to get what I was looking for -
fully automated pre-compiling deploying. Excellent!
Holman, Cal wrote:
I am using tomcat 5.0.12 and struts 1.1 with tiles and have been successful in
for the
actual jsp comes in?
thanks,
David
- Original Message -
From: Ruth, Brice [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, October 31, 2003 10:45 AM
Subject: Re: Eclipse + Ant + precompile - Tomcat
Thanks for the pointer to your blog, between
comes in?
thanks,
David
- Original Message -
From: Ruth, Brice [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, October 31, 2003 10:45 AM
Subject: Re: Eclipse + Ant + precompile - Tomcat
Thanks for the pointer to your blog, between that and the example
or is it web
context path stuff like /salesweb/WEB-INF or whatever?
Thanks
David
- Original Message -
From: Ruth, Brice [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, October 31, 2003 12:42 PM
Subject: Re: Eclipse + Ant + precompile - Tomcat
Yep
31, 2003 1:10 PM
Subject: Re: Eclipse + Ant + precompile - Tomcat
What values are expected to go into
jasper2 validateXml=false
uriroot=/salesweb
webXmlFragment=${WEB-INF.dir}/generated_web.xml
outputDir=${WEB-INF.dir}/src /
the uriroot, webXMLFragment, and outputDir? Are they the full
Erickson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 31, 2003 15:33
To: Struts Users Mailing List
Subject: Re: Eclipse + Ant + precompile - Tomcat
Ok I solved that question its looking for an exact directory. But now I'm
getting this error when trying to build:
java.lang.NoClassDefFoundError
10 matches
Mail list logo