You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Toby Piper <tp...@CompCraft.com> on 2000/08/17 09:50:54 UTC

Using JspC

Hi All,

I want to precompile my JSP pages and am trying to use JspC. However I am
getting a null pointer exception in JspC Main.

I am using Tomcat 3.1.

Has anyone used the JspC precompiler with success? If so could you give me some
tips.

As an alternative to using JspC can I just use the compiled classes the way they
are?

Thanks in advance,

Toby


Re: Using JspC

Posted by Pierre Delisle <pi...@sun.com>.
Toby Piper wrote:
> I want to precompile my JSP pages and am trying to use JspC. However I am
> getting a null pointer exception in JspC Main.
> 
> I am using Tomcat 3.1.
> 
> Has anyone used the JspC precompiler with success? If so could you give me some
> tips.

Yes. 

Would be easier to diagnose the problem with a stack trace, but as a
start you may
want to try the following:

1. See if the same problem exists with the latest build of tomcat
(3.2b2). 
   Some bugs have been fixed since 3.1

2. Make sure you use the proper command arguments. As described in the
   following post, you may have to specify the -uriroot option.

    
http://archives2.real-time.com/pipermail/tomcat-users/2000-August/002508.html

    -- Pierre