What option did you use with jspc?  I am encountering the same problem.
Thanks
Oskar

FRED wrote:

> Hi Randy,
>
> Thank you for your reaction. I got it working. This will save me a lot
> of time and will make my application more scalable.
>
> Sophie
>
> Randy Layman schreef:
>
> >         The answer is you can't.  Even if you could get it to generate the
> > file names correctly, Tomcat still wouldn't use them.  What you need to do
> > is to use jspc with the option that produces a web.xml file.  You then need
> > to incorporate that with your web.xml file, compile the .java files, and you
> > will have a webapp made up of exclusively servlets (and static content) - no
> > more JSP to compile.
> >
> >         Randy
> >
> > > -----Original Message-----
> > > From: Joost en Sooophie [mailto:[EMAIL PROTECTED]]
> > > Sent: Saturday, June 09, 2001 1:59 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: jspc and deployment
> > >
> > >
> > > Hi,
> > >
> > > My problem is the following:
> > >
> > > I am working on an EJB application. I want to pre-compile all the
> > > jsp-pages before making the application available on the internet
> > > (and someone clicking on the page, experiencing quite some delay).
> > >
> > > When the jsp MyJSP.jsp is compiled with jspc in Tomcat, files
> > > MyJSP.java
> > > and MyJSP.class are placed in the /TOMCAT_HOME/work directory. But
> > > when I start the application on the internet, it creates the files
> > > xxxMy_yyyJSP.java
> > > and xxxMy_yyyJSP.class in the /TOMCAT_HOME/work directory.
> > >
> > > How can I configure jspc, so that it creates the files
> > > xxxMy_yyyJSP.java and
> > > xxxMy_yyyJSP.class in the /TOMCAT_HOME/work directory?
> > >
> > > Any answer or information or documentation is much appreciated.
> > >
> > > Sophie
> > >
> > >

Reply via email to