tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre Goupil" <goupilpie...@gmail.com>
Subject Re: JSP pre-compilation at start-up
Date Tue, 05 Dec 2006 23:48:19 GMT
Thank you ! It helps, too !

2006/12/6, Rashmi Rubdi <dev_subscriptions@yahoo.com>:
>
> I would like to add a few things to what Tracy mentioned.
>
> You'll need the Jasper ant task.
>
> It's very easy to set-up all instructions are here at the bottom of this
> http://tomcat.apache.org/tomcat-4.1-doc/jasper-howto.html
>
> When you use this Ant task, it first creates Java files of all JSPs and
> then it compiles the Java files to Class files.
> Also it modifies web.xml the one under your project's WEB-INF folder, and
> adds *all* compiled JSP class files to this.
>
> That's why it makes sense to have 2 separate build directories, so that
> you keep web.xml modified by JSPC separate from the original web.xml meant
> for your project.
>
> so
>
> __source\WEB-INF\web.xml will be your original web.xml  and
>
> 01build\WEB-INF\web.xml will be the one modified by JSPC
>
> -Rashmi
>
> ----- Original Message ----
> From: Pierre Goupil <goupilpierre@gmail.com>
> To: Tomcat Users List <users@tomcat.apache.org>
> Sent: Tuesday, December 5, 2006 6:05:07 PM
> Subject: Re: JSP pre-compilation at start-up
>
>
> 2006/12/6, Nelson, Tracy <tnelson@factsmgt.com>:
> >
> > Hmmm, I actually don't use Eclipse any more, so I can't check.  It might
> > have been part of the MyEclipse set of tools.  There's a WebTools plugin
> > available that looks like it might do it (actually, it's kind of hard to
> > tell *what* it does).
>
>
> Yes, I agree. And on my computer, WTP doesn't work at all ! lol
>
>
>
> Easiest thing to do would just be to set up an Ant task for it.  Check out
> > the <jspc/> task.  Make that a dependency of your build task and you
> should
> > be all set.
>
>
> OK, I'll give it a try.
>
>
>
> Bon chance!
>
>
> Merci ! ;-)
>
>
>
> ---
> > Tracy Nelson / Nelnet Business Solutions
> > 402 / 617-9449
> >
> > | -----Original Message-----
> > | From: Pierre Goupil [mailto:goupilpierre@gmail.com]
> > | Sent: Tuesday, 05 December, 2006 16:40
> > | To: Tomcat Users List
> > | Subject: Re: JSP pre-compilation at start-up
> > |
> > | Really ? Eclipse does that ? How do you have it doing so, please tell
> me
> > ?
> > |
> > |
> > | Regards,
> > |
> > |
> > | Pierre
> > |
> > |
> > |
> > | 2006/12/5, Nelson, Tracy <tnelson@factsmgt.com>:
> > | >
> > | > The IDEs I've used (Eclipse, NetBeans) usually offer this as part of
> > the
> > | > packaging step.  I don't know if Tomcat can/will do that on
> > deployment.
> > | >
> > | > ---
> > | > Tracy Nelson / Nelnet Business Solutions
> > | > 402 / 617-9449
> > | >
> > | > | From: Pierre Goupil [mailto:goupilpierre@gmail.com]
> > | > | Sent: Tuesday, 05 December, 2006 16:01
> > | > |
> > | > | My question : is there a way to do this so-called pre-compilation,
> > not
> > | > the
> > | > | first time the page is asked but at the server / webapp launch ?
> > | >
> > | > The information contained in this message is confidential
> > | > proprietary property of FACTS/Nelnet Business Solutions. Any
> > | reproduction,
> > | > forwarding, or copying without the express
> > | > permission of FACTS/Nelnet Business Solutions is strictly
> prohibited.
> > If
> > | > you have
> > | > received this communication in error, please notify us
> > | > immediately by replying to this e-mail.
> > | >
> > | >
> > | >
> ---------------------------------------------------------------------
> > | > To start a new topic, e-mail: users@tomcat.apache.org
> > | > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > | > For additional commands, e-mail: users-help@tomcat.apache.org
> > | >
> > | >
> > |
> > |
> > | --
> > | "L'une des raisons pour lesquelles la vie est complexe
> > | C'est qu'elle a une partie réelle et une partie imaginaire."
> >
> > The information contained in this message is confidential
> > proprietary property of FACTS/Nelnet Business Solutions. Any
> reproduction,
> > forwarding, or copying without the express
> > permission of FACTS/Nelnet Business Solutions is strictly prohibited. If
> > you have
> > received this communication in error, please notify us
> > immediately by replying to this e-mail.
> >
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
>
>
> --
> "L'une des raisons pour lesquelles la vie est complexe
> C'est qu'elle a une partie réelle et une partie imaginaire."
>
>
>
>
> ____________________________________________________________________________________
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail beta.
> http://new.mail.yahoo.com
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
"L'une des raisons pour lesquelles la vie est complexe
C'est qu'elle a une partie réelle et une partie imaginaire."
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message