I am still trying to make this JSWDK compilation works... and I need one
more help
I changed every <jsp:include page="..." /> to <jsp:include page="..."
flush="true"/>
(By the way I am very despised that we can't put a flush="false" ...)
An now, I have several of my pages compilation leading to a
java.lang.NullPointerException with no indication where the error may be in
the page, see below the command line result and the fr\login\generalpost.jsp
page enclosed.
java -classpath
../../../jswdk/lib/servlet.jar;../../../jswdk/lib/jspengine.jar;../../../jsw
dk/lib/xml.jar;../../../jdk/
lib/classes.zip;../../../jsdk/servlet.jar;../../../jndi/lib/jndi.jar;../../.
./jndi/lib/ldap.jar;../../../jndi/lib/provid
erutil.jar;../../../jdbc/lib/classes111.zip;../lib
com.sun.jsp.compiler.Main -keepgenerated fr\login\generalpost.jsp
java.lang.NullPointerException
at
com.sun.jsp.compiler.BeanRepository.ClassFound(BeanRepository.java:127)
at
com.sun.jsp.compiler.BeanGenerator.checkSyntax(BeanGenerator.java:101)
at
com.sun.jsp.compiler.BeanGenerator.generate(BeanGenerator.java:51)
at
com.sun.jsp.compiler.Jsp1_0ParseEventListener$GeneratorWrapper.generate(Comp
iled Code)
at
com.sun.jsp.compiler.Jsp1_0ParseEventListener.generateAll(Compiled Code)
at
com.sun.jsp.compiler.Jsp1_0ParseEventListener.generateHeader(Compiled Code)
at
com.sun.jsp.compiler.Jsp1_0ParseEventListener.endPageProcessing(Jsp1_0ParseE
ventListener.java:112)
at com.sun.jsp.compiler.Main.compile(Main.java:260)
at com.sun.jsp.compiler.Main.main(Compiled Code)
Note that Jrun has no problem compiling and executing this page.
Thanks for your help
-----Original Message-----
From: Craig R. McClanahan <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: jeudi 30 septembre 1999 02:19
Subject: Re: JSWDK page compilation error on <jsp:include>
>C�dric Janssens wrote:
>
>> <jsp:include page="/servlet/org.planetfinance.login.RegisterServlet" />
>>
>
>As of the JSWDK 1.0 final release (which conforms to JSP 1.0), the flush
attribute
>is mandatory. Shame on me (among others) for not including it in my
examples in
>previous answers -- I haven't retrained my fingers to that habit yet.
>
>Try:
>
> <jsp:include page="/servlet/org.planetfinance.login.RegisterServlet"
>flush="true" />
>
>Craig McClanahan
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
>FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
generalpost.jsp