In build.xml: <target name="jsp" depends="web"> <java classname = "JSPC" fork = "yes" failonerror = "yes" classpath="${antclasspath}">
<arg line="-n -v -a ${jrun.app} -s ${jrun.server} -j ${jrun.dir} -w ${server.dir}\${jrun.app} ${jsp.dirs}"/> </java> </target> You have to plug in the utility and arguments for your particularly container. Mark -----Original Message----- From: Fabien Modoux [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 11:54 AM To: [EMAIL PROTECTED] Subject: [OT] precompiling jsp with ant (prev 'RE: New Site') Mark, Would you mind providing a sample ant code that does the JSP precompiling? I am currently doing that through a servlet, but using ANT would be much better... I looked on the ANT and Tomcat archives but I could not any info on how to do that. Thanks in advance, Fabien --------------------------------------------- Fabien Modoux, Voicemate - http://www.voicemate.com > -----Original Message----- > From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 10, 2002 9:08 AM > To: 'Struts Users Mailing List' > Subject: RE: New Site > > > Thanks for the suggestion - and it's a good one that everyone > should heed if > they have heavy-weight JSPs. But ours are very light, and we have ANT > precompile them on every deploy. > > Mark > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 10, 2002 8:36 AM > To: Struts Users Mailing List > Subject: Re: New Site > > > I would also check that your JSP's are pre-compiled. The JSP's are > compiled as servlets wen they are first called after changes. That can > take some time as well. We have been getting excellent performance across > a T1 over the Atlantic that goes from Philly to Raleigh to the UK and back > aain. > > Jim Berg > Sr. Software Specialist > PSCI > 610-270-4158 > [EMAIL PROTECTED] > > > > > "Pete Carapetyan" > > <pete@datafundamentals > > .com> > > To: "Struts Users > Mailing List" > > > 10-Apr-2002 08:10 cc: > > Please respond to Subject: Re: New Site > > "Struts Users Mailing > > List" > > <[EMAIL PROTECTED] > > pache.org> > > > > > > > > > "Galbreath, Mark" wrote: > > > > This is not very encouraging. At 6:30 AM EST on a T-1 I finally gave up > > when the page had not fully loaded after 3 minutes(!!). My personal > > experience with Struts (we are committed to it at this point for > VoiceStream > > Global Wireless's new ecommerce sites) is that it slows processing and > page > > deleivery considerably. Anyone else notice this? > > No. > > I would look for a bug in your code, not in Struts. Have you run > a profiler > on it to see where it is spending it's time? > > > > > Mark > > > > -----Original Message----- > > From: Martin Samm [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, April 09, 2002 8:27 AM > > To: [EMAIL PROTECTED] > > Subject: New Site > > > > Just thought i'd another 'Powered By Struts' site to the list - > > www.peoplenews.com. > > Its a showbiz / gossip site which until recently ran on Vignette (yuk) . > > While the content may not be to everyone's taste, it is popular, about > 19M > > hits last month. It's been running for 2 days, so may have a couple of > > teething problems, but it does seem to have scaled well. > > -- > > Martin Samm > > [EMAIL PROTECTED] > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > -- > > To unsubscribe, e-mail: < > mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: < > mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: < > mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: < > mailto:[EMAIL PROTECTED]> > > > > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>