Can you post the stack trace? Do you know where the exception occurs (Servlet, Action, accept.jsp)?
----- Original Message ----- From: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 5: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]> --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.435 / Virus Database: 244 - Release Date: 1/2/2003 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>