You might put a try { } catch(ex) { System.out.println( ex.printStackTrqace() ) }
in your code.

By the way, when using URLConnection to connect you should keep in mind that the
'server' acts as a browser and does not have an active session (which might even
cause your exception) and definately does not use the session the browser created.
So your jsp should be able to 'work' sessionless.

regards,
janco



Kevin Duffey wrote:

> For some reason, when a JSP page read in via code using URLConnection (thus,
> it acts the same as if a browser were to request the JSP page, therefore the
> output read in is the processed HTML the JSP page creates), I can't seem to
> get any run time or compile time exceptions inside of my code. The only
> thing I get is a FileNotFoundException because the JSP output was not
> generated. Is there any way to get the exception the JSP engine generates
> when a JSP page is read in in this manner?
>
> Thanks.
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

--
Janco Tanis

------------------------------------------------------------
      COAS, Your partner in computer aided services

   Nijverheidsweg 34        Tel:   +31 (0) 187 49 3222
   Postbus 44               Fax:   +31 (0) 187 49 2912
   3250 AA Stellendam       Email: [EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to