Yes, this is the name of the class. I checked this 100s of times, even copying and pasting the package and class name from the .java file. I'm sure this is correct. I have Struts logging turned up to #6 but that isn't putting out any messages. There is very little in the JSP so I don't think that logging directly from the JSP would help. There is no "body" to the JSP. Joe Barefoot <[EMAIL PROTECTED]> wrote:Is your form bean class actually named: "com.client.form.simpleForm" ?
or is supposed to have a capital 'S': "com.client.form.SimpleForm" ? Have you tried putting any logging statements into the simplePage.jsp (just sys-outs would work)? You should put a few in so that you can see exactly where/when the exception is occuring...it may even be thrown before the JSP is actually executed. peace, Joe > -----Original Message----- > From: Art Vandalay [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 12, 2003 1:38 PM > To: Struts Users Mailing List > Subject: RE: Cannot retrieve definition for form bean null > > > > I am not referencing my own bean. The only thing my JSP tries > to do is grab a value from a resource bundle and set the > title of the page to that value. This is my entire JSP: > > > > > > > > > > This is the config file: > > > > > > > > > > > > > type="org.apache.struts.actions.ForwardAction" > parameter="Welcome.jsp"/> > > type="org.apache.struts.actions.ForwardAction" parameter="Logon.jsp"/> > > type="com.client.action.LogonAction" name="logonForm" > scope="request" validate="true" input="Logon.jsp"> > > > > > > > type="org.apache.struts.actions.ForwardAction" > parameter="simplePage.jsp"/> > > > > James Childers wrote: Nine times out > of ten when I get that message it is one of two things: > > - I haven't referenced the bean properly in the tag. This is > especially true of anything which references a collection, > because that syntax is just off. > > - I haven't put the bean in the proper scope. Less frequent, > but it happens. > > BTW: Your struts-config and JSP source is coming across as > blanks on my mailreader. > > -= J > > > -----Original Message----- > > From: Art Vandalay [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, February 12, 2003 3:19 PM > > To: Struts Users Mailing List > > Subject: Re: Cannot retrieve definition for form bean null > > > > > > > > I'm sorry to bug everyone again with this, but I cannot > > figure out what this error message is telling me. If anyone > > has any insight, I'd appreciate it. > > After looking through the Struts 1.1 source files, I've > > determined that this is the code that throws the exception. > > It is located in FormTag.lookup: > > // Look up the form bean definition > > FormBeanConfig formBeanConfig = > > moduleConfig.findFormBeanConfig(mapping.getName()); > > if (formBeanConfig == null) { > > JspException e = > > new > > JspException(messages.getMessage("formTag.formBean", > > mapping.getName())); > > pageContext.setAttribute(Globals.EXCEPTION_KEY, > > e, PageContext.REQUEST_SCOPE); > > throw e; > > } > > > > > > > > My original message is below with the struts-config.xml and > > JSP page itself. > > > > Thanks for any help you can provide. > > > > > > Art Vandalay wrote: > > Hello everyone, > > > > I am trying to write a very simple Struts application that > > simply displays a JSP using bean:message to retrieve values > > for my field labels and buttons from a ResourceBundle. Pretty > > straight forward, but I am getting the following error: > > > > > > > > [exec] javax.servlet.jsp.JspException: Cannot retrieve > > definition for form > > bean null > > > > > > > > The message seems to imply that Struts is trying to access a > > bean whose name is "null" but I don't know what bean that > > would be as I have no beans referenced on my JSP. I am only > > trying to invoke the logic contained within the struts-bean.tld. > > > > > > > > The logic flow is the user signs-into the application and is > > then forwarded to "simplePage.jsp". I used a ForwardAction to > > navigate from the logon page (after a successful login). But > > I never reach "simplePage.jsp" due to the above mentioned error. > > > > > > > > Any help would be appreciated. > > > > > > > > Here is what I have in my struts_config.xml: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Here is my JSP: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------- > > Do you Yahoo!? > > Yahoo! Shopping - Send Flowers for Valentine's Day > > > > > > --------------------------------- > > Do you Yahoo!? > > Yahoo! Shopping - Send Flowers for Valentine's Day > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------- > Do you Yahoo!? > Yahoo! Shopping - Send Flowers for Valentine's Day > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day