That is a great picture of what you are doing, but your question does not
help anyone help you.

    1 Did you do any logging in your action to see where the null pointer is
being generated.  At least put some System.err.println(); in you code to see
where you are failing.
    2. Are you sure that it is even getting to you action.
    3. Is your manager causing the problem.

I use weblogic 6.1sp2 and use Log4J to log my app, if you are not currently
using it I would suggest that you do.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, January 16, 2003 6:18 PM
Subject: Struts application


> I applied struts in the simplest form and received the below error
message.
> This application resides on a Weblogic 6.0 server.
>
> Scenario:
> It involves two JSP's, two form classes and an action class.  The
Index.jsp
> is loaded first where you key in the username and click the ok submit
> button. It takes you to the other jsp, accept.jsp, which displays the user
> name.
>
> In the backend, when you click the button on the index.jsp, the value of
> the username is taken to the form bean and in the action class the data
> from the form bean of the index.jsp is retrieved and stored in the form
> bean of the the accept.jsp and the jsp is loaded.  It automatically gets
> the data from the form bean and displays  it on  the accept.jsp.
>
>
> Problem:
> The problem I'm having is once I click on the ok button from the index.jsp
> I get the following error message displayed from weblogic:
>
>
>
>
> <Jan 16, 2003 3:46:10 PM EST> <Error> <HTTP>
> <[WebAppServletContext(6821348,wrox-struts,/wrox-struts)] Servlet failed
> with Exception java.lang.NullPointerException
>
>
>
>
>
> It's set up in the below structure:
>
>
>
>

>
>
>  (Embedded image moved to file: pic04734.gif)
>
>
>
>
>
>
>
> Can anyone help??
>
> Thanks.
>
> CONFIDENTIAL MATERIAL.  This electronic message contains information from
> Princeton eCom Corporation, is confidential and may be privileged.  It is
> intended for the use of the addressee only.  If you are not the addressee
> indicated in this message (or responsible for delivery of the message to
> such person), any disclosure, copy, distribution or use of the contents of
> this message is prohibited.  Please destroy this message and notify us
> immediately if this is the case by sending a reply to this message or by
> sending an e-mail to [EMAIL PROTECTED] and by destroying all
> copies of this message and any attachments. Thank you.  For more
> information about Princeton eCom Corporation, please visit us at
> http://www.princetonecom.com
>
>


----------------------------------------------------------------------------
----


> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to