tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wyn Easton <wyn_eas...@yahoo.com>
Subject Re: Using jspc
Date Wed, 02 Aug 2000 14:17:08 GMT
Thanks Ramesh!

That was my problem.
I thought it was some kind of a usage thing.


--- "Ramesh Kumar.T" <rameshkumar@india.adventnet.com> wrote:
> hi,
> use the  -uriroot option (with the directory as option) before the
> -webapp option
> something like this
>  jspc -webinc pweb.xml -uriroot . -webapp c:\myapp
> bye
> Ramesh
> Wyn Easton wrote:
> 
> > I am using the 3.2 Beta2 release
> > My JspC.class file in the jasper.jar is dated 07/11/2000 1:45AM
> > Could there be some other problem?
> >
> > Thanks.
> >
> > --- Danno Ferrin <shemnon@earthlink.net> wrote:
> > > What you need is Beta2 or the CVS builds.  The bug was fixed
> after
> > > Beta1
> > >
> > > --Danno
> > >
> > > Wyn Easton wrote:
> > > >
> > > > Hello,
> > > >
> > > > I'm having trouble using the jspc.bat file on an NT system.
> > > > I trying to precompile my JSP pages for my whole web app.
> > > > My command line looks like this:
> > > >
> > > > jspc -webinc pweb.xml -webapp c:\myapp
> > > >
> > > > I always get the following exception:
> > > >
> > > > Exception in thread "main" java.lang.NullPointerException
> > > >         at java.io.File.<init>(Unknown Source)
> > > >         at org.apache.jasper.JspC.parseFiles(JspC.java:475)
> > > >         at org.apache.jasper.JspC.main(JspC.java:622)
> > > >
> > > > I run the command from the root of the C drive (C:\).
> > > > There are jsp files in the myapp directory.
> > > > Could someone show me the error of my ways?
> > > >
> > > > BTW - I did get the 3.2 beta code (like mentioned by Nacho) but
> I
> > > get
> > > > this error with 3.1 also. So I think it is probably a usage
> error.
> > > >
> > > > Is there a "how-to" on jspc or maybe a usage example?
> > > >
> > > > Thanks.
> > > >
> > > > =====
> > > > Wyn Easton
> > > > wyn_easton@yahoo.com
> > > >
> >
> > =====
> > Wyn Easton
> > wyn_easton@yahoo.com
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Kick off your party with Yahoo! Invites.
> > http://invites.yahoo.com/
> 


=====
Wyn Easton
wyn_easton@yahoo.com

__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

Mime
View raw message