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

<<attachment: pic04734.gif>>

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

Reply via email to