You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Eric Gilbertson <er...@pervasivesec.com> on 2002/08/19 23:49:17 UTC
JspFactory.getDefaultFactory() returns null when JSP is
statically compiled (v. 401)
Hello Tomcat Developers:
Can anyone tell me why the following JSP/servlet call:
_jspxFactory = JspFactory.getDefaultFactory();
would return null when my JSP page is statically compiled? The JSP
to java transform is done via jspc/ant and everything seems to compile
okay, as does the resulting web.xml file. The problem is that when the
resulting servlet is hit, I get an empty page back (status = 200). The blank
page is caused by 'getDefaultFactory() returning null. I know from installing
print statements that a NPE is generated, but there is no trace of it in any
of the TC logs.
I suspect that my problem is due to some difference between my runtime
environment and TCs but I sure can't see what the problem might be. I've
been slogging away at this for a couple of days now, any pointers to a solution
would be very much appreciated (including where is can download the
javax.servlet
sources from).
Environment = TC 4.01/JDK 1.4 on Windows XP.
TIA,
Eric Gilbertson
eric.gilbertson@secretseal.com
P.S.
I apologize to anyone who considers this an inappropriate question for
tomcat-dev.
I have tried tomcat-user and every tomcat archive I can find but I have not
been able
to find anything on this.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>