Re: Cannot retrieve definition for form bean null

2003-10-07 Thread victor gusz
Is it absolutely necessary to use a form bean for
every 
action? I will only let user to click on a link and 
forward it to another page while sending a value.
Should I define a form bean for this? And how can I do
it?

regards, 


--- victor gusz <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I got the above error when I ran my struts app. I am
> not
> using a form for this action since I only need to
> diaply it. And I am using Tiles framework for this. 
> 
> Appreciate any help.
> 
> 
> 
> __
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product
> search
> http://shopping.yahoo.com
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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



Re: Cannot retrieve definition for form bean null

2003-10-07 Thread Paul Rashidi
If you don't define a form in the struts config file how can you expect
the form tag to work correctly?  It's whole purpose is to reference the
form attribute in your config and then reference the corresponding form
in the request.  Use the standard html form tag when you don't define a
form for your action ().

On Tue, 2003-10-07 at 23:30, ajay brar wrote:
> hi!
> i had heard that a form bean for a form was optional, not sure why i am 
> getting this error here.
> i have a button on a page and it goes like
>   browse kiosks  value="Submit"/>
> in my struts-config.xml i have defined the following action mapping
>  type="KioskAction"
> scope="request">
>  
> 
> 
> could someone please help with this error.
> 
> thanks
> cheers
> ajay
> 
> _
> Chat via SMS. Simply send 'CHAT' to 1889918. More info at  
> http://ninemsn.com.au/mobilemania/MoChat.asp?blipid=6800
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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



Re: Cannot retrieve definition for form bean null

2003-10-07 Thread Max Cooper
Struts is looking for the action form defined for the "/kiosk" action (since
that is what the  submits to on your page. The action or action
form does not exist, so you get the error of Struts looking for the "null"
action form.

Use a regular HTML  tag to evade that issue, or define the stuff for
your "/kiosk" action.

-Max

- Original Message - 
From: "ajay brar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 07, 2003 9:30 PM
Subject: Cannot retrieve definition for form bean null


> hi!
> i had heard that a form bean for a form was optional, not sure why i am
> getting this error here.
> i have a button on a page and it goes like
>   browse kiosks  value="Submit"/>
> in my struts-config.xml i have defined the following action mapping
>  type="KioskAction"
> scope="request">
>  
> 
>
> could someone please help with this error.
>
> thanks
> cheers
> ajay
>
> _
> Chat via SMS. Simply send 'CHAT' to 1889918. More info at
> http://ninemsn.com.au/mobilemania/MoChat.asp?blipid=6800
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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



Re: Cannot retrieve definition for form bean null

2003-10-07 Thread ajay brar
hi!
i have defined a form KioskForm, that i am using later in the application.
since my current form consists only of a submit button and no fields,
  browse kiosks 
can i define kioskForm in the action mapping as the form for this empty 
form?
what i am trying to do is just test struts forms on my server. i have been 
having problems with it not matching my requests to the appropriate action 
class.

thanks
cheers
ajay



From: "Max Cooper" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: Cannot retrieve definition for form bean null
Date: Tue, 7 Oct 2003 22:33:54 -0700
Struts is looking for the action form defined for the "/kiosk" action 
(since
that is what the  submits to on your page. The action or action
form does not exist, so you get the error of Struts looking for the "null"
action form.

Use a regular HTML  tag to evade that issue, or define the stuff for
your "/kiosk" action.
-Max

- Original Message -
From: "ajay brar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 07, 2003 9:30 PM
Subject: Cannot retrieve definition for form bean null
> hi!
> i had heard that a form bean for a form was optional, not sure why i am
> getting this error here.
> i have a button on a page and it goes like
>   browse kiosks  value="Submit"/>
> in my struts-config.xml i have defined the following action mapping
>  type="KioskAction"
> scope="request">
>  
> 
>
> could someone please help with this error.
>
> thanks
> cheers
> ajay
>
> _
> Chat via SMS. Simply send 'CHAT' to 1889918. More info at
> http://ninemsn.com.au/mobilemania/MoChat.asp?blipid=6800
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Get less junk mail with ninemsn Premium. Click here  
http://ninemsn.com.au/premium/landing.asp

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


RE: Cannot retrieve definition for form bean null

2003-02-12 Thread Kandi Potter
I'm not sure if this is your problem, but do you have the tld directive in your jsp?

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

-Original Message-
From: Art Vandalay [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 1:43 PM
To: Struts Mailing List
Subject: Cannot retrieve definition for form bean null



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:



<%@ page language="java" %>

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>























 

 



-
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day

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




RE: Cannot retrieve definition for form bean null

2003-02-12 Thread Art Vandalay

Yes, I do. The entire JSP was included in my message and appears at the bottom of this 
one as well. As you can see, it is quite simple. All I want is to retrieve a value 
from the resource bundle and set it as the page's title.
 Kandi Potter <[EMAIL PROTECTED]> wrote:I'm not sure if this is your problem, 
but do you have the tld directive in your jsp?



-Original Message-
From: Art Vandalay [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 1:43 PM
To: Struts Mailing List
Subject: Cannot retrieve definition for form bean null



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

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



-
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day


Re: Cannot retrieve definition for form bean null

2003-02-12 Thread Art Vandalay

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 <[EMAIL PROTECTED]> 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


RE: Cannot retrieve definition for form bean null

2003-02-12 Thread James Childers
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 <[EMAIL PROTECTED]> 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]




RE: Cannot retrieve definition for form bean null

2003-02-12 Thread Art Vandalay

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:

 
  
  
 
 
  
  
  
 
 
  
  
  
   
  
  
   
  
  
 

 
 James Childers <[EMAIL PROTECTED]> 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


RE: Cannot retrieve definition for form bean null

2003-02-12 Thread James Childers
This sounds like it's an issue with your resources file. Make sure it's being 
referenced properly in web.xml and is in a directory under WEB-INF\classes which 
corresponds to its package. 

-= J

> -Original Message-
> From: Art Vandalay [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 12, 2003 3: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 <[EMAIL PROTECTED]> 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]




RE: Cannot retrieve definition for form bean null

2003-02-12 Thread Joe Barefoot
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 <[EMAIL PROTECTED]> 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:
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 

RE: Cannot retrieve definition for form bean null

2003-02-12 Thread Art Vandalay

yes, this is correct. I've already checked this.
 
The way I created my application was
1. Took an existing Struts example, put the .war into my app server
2. Tested the sample to see if it worked -- it did.
3. Added my own JSP
4. Modified the resource bundle
5. Modified struts_config
6. Rebuilt the app
7. Tried to run it.
 
But now I've been chasing this error for almost 2 full days with no progress. I'm 
ready to give up on struts.
 James Childers <[EMAIL PROTECTED]> wrote:This sounds like it's an issue with your 
resources file. Make sure it's being referenced properly in web.xml and is in a 
directory under WEB-INF\classes which corresponds to its package. 

-= J

> -Original Message-
> From: Art Vandalay [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 12, 2003 3: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.
> > 
> > 
> > 
&g

RE: Cannot retrieve definition for form bean null

2003-02-12 Thread Art Vandalay

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 

RE: Cannot retrieve definition for form bean null

2003-02-13 Thread Joe Barefoot
> 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.

This is irrelevant.  Right now you have no idea if any part of your JSP actually 
executes, or if the bug occurs before it's service method is even called.  Putting 
logging statements there will enable you to determine that.  You can also put a 
scriplet in to grab your form directly from the request to see if it's actually there, 
etc.  If it's not there, that means there's either something wrong with your 
struts-config (like maybe the form-bean element is missing, so struts doesn't know 
what form bean class to instantiate), struts couldn't find the form class (though that 
should throw a different exception), or you are hitting the JSP directly without going 
through a struts-mapped url.

  
hope this helps,
Joe

>  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);
> > &g

Re: Cannot retrieve definition for form bean null

2002-03-08 Thread Rajagopal V

if u need the form in your offer.jsp(the one you are
forwarding from NewOfferAction), you shud have this in
your config file



 


This way, you have the Form forwarded to offer.jsp, 

HTH

--- Benoit Segaert <[EMAIL PROTECTED]> wrote:
> I have the following config:
> 
>   
> type="be.uniway.spofferlt.OfferForm"/>
> 
>   
> 
>   
> 
>
> type="be.uniway.spofferlt.NewOfferAction"
>name="offerForm"
>   scope="request"
>validate="false">
>   path="/jsp/offer.jsp"/>
> 
> 
>
> type="be.uniway.spofferlt.RegistrationOfferAction"
>   scope="request" >
>   path="/jsp/offerList.jsp"/>
> 
> ...
>  
> 
> My offer.jsp is the following:
> 
> 
> 
> ...
> 
> 
> My class be.uniway.spofferlt.NewOfferAction received
> the form OfferForm
> and I can
> set some attributes with setters. The getters are
> also available.
> The method perform() of  NewOfferAction finishs with
> the following line:
> 
> 
> return (mapping.findForward("success"));
> 
> I receive the error "Cannot retrieve definition for
> form bean null" at
> this moment.
> 
> Could you help me?
> I didn't find a answer in the mailinglist.
> 
> Benoit
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Cannot retrieve definition for form bean null

2002-04-10 Thread Arnaud Heritier

Don't you miss to transfert your form bean at the end of your action like 
this :

if(form!=null)
if ("request".equals(mapping.getScope()))
request.setAttribute(mapping.getAttribute(), form);
else

request.getSession().setAttribute(mapping.getAttribute(), form);


arno#

> -Message d'origine-
> De:   Ida Dorum [SMTP:[EMAIL PROTECTED]]
> Date: mardi 9 avril 2002 16:54
> A:[EMAIL PROTECTED]
> Objet:Cannot retrieve definition for form bean null
>
> I have a strange feeling I've had this problem before
>
> I invoke my action FindCustomerDataAction, wich is supposed to display a 
form. The action runs ok, and a form bean is made (CardCustomerSearchForm), 
but when i forward to the correct jsp, I get the the error included below.
>
> I include the relevant code from struts-config.xml as well:
>
> Can anyone help me??
>
> ---
>
>
> ---
>
> javax.servlet.jsp.JspException: Cannot retrieve definition for form bean 
null
> at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:795)
> at 
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:481)
> at 
jsp_servlet._customer.__kort_finn_kunde._jspService(__kort_finn_kunde.ja  
va:127)
> at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
> at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.  
java:265)
> at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.  
java:200)
> at 
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatche  
rImpl.java:241)
> at 
org.apache.struts.action.ActionServlet.processActionForward(ActionServle  
t.java:1759)
> at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
> at 
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.  
java:265)
> at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.  
java:200)
> at 
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl  
etContext.java:2495)
> at 
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.  
java:2204)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> >
>
> 
> from struts-config.xml
>
> 
> 
   type="sb1.business.salesclient.customer.action.CardCustom  
erSearchForm" />
>   
>
> 
>  
type="sb1.business.salesclient.customer.action.FindCustomerD  
ataAction"
> name="customerSearchForm"
> scope="request"
> input="/customer/kort_finn_kunde.jsp"
> validate="true">
>   path="/customer/kort_finn_kunde.jsp">
>   
>   path="/customer/show.do">
>   
>   path="/customer/searchresult.jsp">
>   
>   path="/customer/kort_finn_kunde.jsp">
>   
>   path="/customer/error.jsp">
>   
> 
>
> ...mogul technology 
as...
>
> mogul technology > ida dorum - software engineer
>
> drammensveien 134
> N - 0277 oslo
> norway
>
> tel +47 - 24 11 43 00
> dir +47 - 24 11 44 87
> mobil +47 - 930 60 318
> mailto:[EMAIL PROTECTED]
> www.mogul.no
> ...
>
>
>
> --
> To unsubscribe, e-mail: 
  
> For additional commands, e-mail: 



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Cannot retrieve definition for form bean null

2002-04-10 Thread Ida Dorum

The error turned out to be in my mapping, I have never needed to add the
form to my request or session in my action to make it available in my
jsp? Why do you do that?

ida

-Original Message-
From: Arnaud Heritier [mailto:[EMAIL PROTECTED]]
Sent: 10. april 2002 11:53
To: 'Struts Users Mailing List'
Subject: RE: Cannot retrieve definition for form bean null


Don't you miss to transfert your form bean at the end of your action
like 
this :

if(form!=null)
if ("request".equals(mapping.getScope()))

request.setAttribute(mapping.getAttribute(), form);
else

request.getSession().setAttribute(mapping.getAttribute(), form);


arno#

> -Message d'origine-
> De:   Ida Dorum [SMTP:[EMAIL PROTECTED]]
> Date: mardi 9 avril 2002 16:54
> A:[EMAIL PROTECTED]
> Objet:Cannot retrieve definition for form bean null
>
> I have a strange feeling I've had this problem before
>
> I invoke my action FindCustomerDataAction, wich is supposed to display
a 
form. The action runs ok, and a form bean is made
(CardCustomerSearchForm), 
but when i forward to the correct jsp, I get the the error included
below.
>
> I include the relevant code from struts-config.xml as well:
>
> Can anyone help me??
>
> ---
>
>
> ---
>
> javax.servlet.jsp.JspException: Cannot retrieve definition for form
bean 
null
> at
org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:795)
> at 
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:481)
> at 
jsp_servlet._customer.__kort_finn_kunde._jspService(__kort_finn_kunde.ja

va:127)
> at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
> at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.

java:265)
> at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.

java:200)
> at 
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatche

rImpl.java:241)
> at 
org.apache.struts.action.ActionServlet.processActionForward(ActionServle

t.java:1759)
> at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
> at 
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.

java:265)
> at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.

java:200)
> at 
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl

etContext.java:2495)
> at 
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.

java:2204)
> at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> >
>
> 
> from struts-config.xml
>
> 
> 
   type="sb1.business.salesclient.customer.action.CardCustom

erSearchForm" />
>   
>
> 
>  
type="sb1.business.salesclient.customer.action.FindCustomerD

ataAction"
> name="customerSearchForm"
> scope="request"
> input="/customer/kort_finn_kunde.jsp"
> validate="true">
>   path="/customer/kort_finn_kunde.jsp">
>   
>   path="/customer/show.do">
>   
>   path="/customer/searchresult.jsp">
>   
>   path="/customer/kort_finn_kunde.jsp">
>   
>   path="/customer/error.jsp">
>   
> 
>
> ...mogul technology 
as...
>
> mogul technology > ida dorum - software engineer
>
> drammensveien 134
> N - 0277 oslo
> norway
>
> tel +47 - 24 11 43 00
> dir +47 - 24 11 44 87
> mobil +47 - 930 60 318
> mailto:[EMAIL PROTECTED]
> www.mogul.no
>
...
>
>
>
> --
> 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]>


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




Re: Cannot retrieve definition for form bean null

2002-04-10 Thread Christian Bouessay

Ida Dorum wrote:
> The error turned out to be in my mapping, I have never needed to add the
> form to my request or session in my action to make it available in my
> jsp? Why do you do that?


Neither me (?)
Could you send an extract of the JSP file? (kort_finn_kunde.jsp)

--
C. Bouessay

> -Original Message-
> From: Arnaud Heritier [mailto:[EMAIL PROTECTED]]
> Sent: 10. april 2002 11:53
> To: 'Struts Users Mailing List'
> Subject: RE: Cannot retrieve definition for form bean null
> 
> 
> Don't you miss to transfert your form bean at the end of your action
> like 
> this :
> 
>   if(form!=null)
>   if ("request".equals(mapping.getScope()))
>   
> request.setAttribute(mapping.getAttribute(), form);
>   else
>   
> request.getSession().setAttribute(mapping.getAttribute(), form);
> 
> 
> arno#
> 
> 
>>-Message d'origine-
>>De:   Ida Dorum [SMTP:[EMAIL PROTECTED]]
>>Date: mardi 9 avril 2002 16:54
>>A:[EMAIL PROTECTED]
>>Objet:Cannot retrieve definition for form bean null
>>
>>I have a strange feeling I've had this problem before
>>
>>I invoke my action FindCustomerDataAction, wich is supposed to display
> 
> a 
> form. The action runs ok, and a form bean is made
> (CardCustomerSearchForm), 
> but when i forward to the correct jsp, I get the the error included
> below.
> 
>>I include the relevant code from struts-config.xml as well:
>>
>>Can anyone help me??
>>
>>---
>>
>>
>>---
>>
>>javax.servlet.jsp.JspException: Cannot retrieve definition for form
> 
> bean 
> null
> 
>>at
> 
> org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:795)
> 
>>at 
> 
> org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:481)
> 
>>at 
> 
> jsp_servlet._customer.__kort_finn_kunde._jspService(__kort_finn_kunde.ja
> 
> va:127)
> 
>>at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
>>at 
> 
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
> 
> java:265)
> 
>>at 
> 
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
> 
> java:200)
> 
>>at 
> 
> weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatche
> 
> rImpl.java:241)
> 
>>at 
> 
> org.apache.struts.action.ActionServlet.processActionForward(ActionServle
> 
> t.java:1759)
> 
>>at 
> 
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
> 
>>at 
> 
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
> 
>>at
> 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> 
>>at
> 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 
>>at 
> 
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
> 
> java:265)
> 
>>at 
> 
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
> 
> java:200)
> 
>>at 
> 
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
> 
> etContext.java:2495)
> 
>>at 
> 
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
> 
> java:2204)
> 
>>at
> 
> weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> 
>>at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>>
>>
>>from struts-config.xml
>>
>>
>>   >
> 
>type="sb1.business.salesclient.customer.action.CardCustom
> 
> erSearchForm" />
> 
>>  
>>
>>
>>>
> 
> type="sb1.business.salesclient.customer.action.FindCustomerD
> 
> ataAction"
> 
>>name="customerSearchForm"
>>scope="request"
>>input="/customer/kort_finn_kunde.jsp"
>>validate="true">
>>  >   path="/customer/kort_finn_kunde.jsp">
>>  
>>  >   path="/customer/show.do">
>>  
>>  >   path="/customer/searchresult.jsp">
>>  
>>  >   path="/customer/kort_finn_kunde.jsp">
>>  
>>  >   path="/custo

RE: Cannot retrieve definition for form bean null

2002-04-10 Thread Ida Dørum

It is not really relevant, the error turned out to be that I messed up the action 
mappings during refactoring.

In other words, the code from Arnaud that added the form to the request or session had 
nothing to do with how I solved my problem. I have never added the form to the session 
or request in forms I've made earlier either.

ida

-Original Message-
From: Christian Bouessay [mailto:[EMAIL PROTECTED]]
Sent: 10. april 2002 14:03
To: Struts Users Mailing List
Subject: Re: Cannot retrieve definition for form bean null


Ida Dorum wrote:
> The error turned out to be in my mapping, I have never needed to add the
> form to my request or session in my action to make it available in my
> jsp? Why do you do that?


Neither me (?)
Could you send an extract of the JSP file? (kort_finn_kunde.jsp)

--
C. Bouessay

> -Original Message-
> From: Arnaud Heritier [mailto:[EMAIL PROTECTED]]
> Sent: 10. april 2002 11:53
> To: 'Struts Users Mailing List'
> Subject: RE: Cannot retrieve definition for form bean null
> 
> 
> Don't you miss to transfert your form bean at the end of your action
> like 
> this :
> 
>   if(form!=null)
>   if ("request".equals(mapping.getScope()))
>   
> request.setAttribute(mapping.getAttribute(), form);
>   else
>   
> request.getSession().setAttribute(mapping.getAttribute(), form);
> 
> 
> arno#
> 
> 
>>-Message d'origine-
>>De:   Ida Dorum [SMTP:[EMAIL PROTECTED]]
>>Date: mardi 9 avril 2002 16:54
>>A:[EMAIL PROTECTED]
>>Objet:Cannot retrieve definition for form bean null
>>
>>I have a strange feeling I've had this problem before
>>
>>I invoke my action FindCustomerDataAction, wich is supposed to display
> 
> a 
> form. The action runs ok, and a form bean is made
> (CardCustomerSearchForm), 
> but when i forward to the correct jsp, I get the the error included
> below.
> 
>>I include the relevant code from struts-config.xml as well:
>>
>>Can anyone help me??
>>
>>---
>>
>>
>>---
>>
>>javax.servlet.jsp.JspException: Cannot retrieve definition for form
> 
> bean 
> null
> 
>>at
> 
> org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:795)
> 
>>at 
> 
> org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:481)
> 
>>at 
> 
> jsp_servlet._customer.__kort_finn_kunde._jspService(__kort_finn_kunde.ja
> 
> va:127)
> 
>>at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
>>at 
> 
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
> 
> java:265)
> 
>>at 
> 
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
> 
> java:200)
> 
>>at 
> 
> weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatche
> 
> rImpl.java:241)
> 
>>at 
> 
> org.apache.struts.action.ActionServlet.processActionForward(ActionServle
> 
> t.java:1759)
> 
>>at 
> 
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
> 
>>at 
> 
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
> 
>>at
> 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> 
>>at
> 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 
>>at 
> 
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
> 
> java:265)
> 
>>at 
> 
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
> 
> java:200)
> 
>>at 
> 
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
> 
> etContext.java:2495)
> 
>>at 
> 
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
> 
> java:2204)
> 
>>at
> 
> weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> 
>>at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>>
>>
>>from struts-config.xml
>>
>>
>>   >
> 
>type="sb1.business.salesclient.customer.action.CardCustom
> 
> erSearchForm" />
> 
>>  
>>
>>
>>>
> 
> type="sb1.business.salesclient.customer.action.FindCustomerD
> 
> ataAction"
> 
>>name="customerSearchForm"
>>scope="request"
>&g

Re: Cannot retrieve definition for form bean null

2001-04-12 Thread Craig R. McClanahan



On Fri, 6 Apr 2001, Abraham Kang wrote:

> Does anyone know what this exception means?
> 
> javax.servlet.jsp.JspException: Cannot retrieve definition for form bean
> null
> 
> I have a simple JSP page that only has two Struts tags:
> 
> 
> 
> 
> 
> 

We'd need to see the details of your  tag and struts-config.xml
file to be sure, but I would bet there is a mismatch somewhere -- perhaps
an incorrect class name on the  element.

> 
> Confused,
> Abraham
> 
> 

Craig





Re: Cannot retrieve definition for form bean null?

2001-10-03 Thread rankinn

Defining a form in your action is definately optional, not sure why you would get that 
error message - though I have had errors reporting null beans that were acctually 
masking a different problem.
Sorry I couldn't be more help, good luck.
Nicola Rankin


**
"This message (and any files transmitted with it) are confidential and 
may be legally privileged. If you are not the intended recipient please 
notify the sender immediately and delete this message from your system. 

This message does not necessarily reflect the views of the 
Reserve Bank of New Zealand. If the recipient has any concerns 
about the content of this message they should seek alternative 
confirmation from the Reserve Bank of New Zealand." 
**



Re: Cannot retrieve definition for form bean null

2002-06-10 Thread Ted Husted

It sounds like the JSP includes a  and the action associated
with the form does not have a name property. 

The  tag does not know which action was used to start the
current request/response cycle, only where it is suppose to submit to
start the next cycle.

-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services


Supriya Saha wrote:
> 
> Hi,
>   I just started using Struts. I am facing some problems with Struts. I
> have an actions defined and there is a form bean attached to the action.
> The web server is calling the action properly upon request, creating the
> right form bean and passing it to the 'perform' method of the action
> class. But when I am forwarding the request to the jsp page I am getting
> the following Exception :
> 
> [ERROR,EmbeddedCatalinaServiceSX] ApplicationDispatcher[/pportal]
> Servlet.servic
> e() for servlet jsp threw exception
> javax.servlet.ServletException: Cannot retrieve definition for form bean
> null
> at
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageCon
> textImpl.java:457)
> at
> org.apache.jsp.sendMail$jsp._jspService(sendMail$jsp.java:384)
> at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspSer
> vlet.java:202)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
> 82)
> at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
> atcher.java:679)
> at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
> ispatcher.java:431)
> at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
> patcher.java:355)
> at
> org.apache.struts.action.ActionServlet.processActionForward(ActionSer
> vlet.java:1759)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:159
> 6)
> at
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:247)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:193)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.java:243)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:566)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> alve.java:201)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:566)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
> torBase.java:518)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:564)
> at
> org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve
> .java:246)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:564)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 
> at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
> 2344)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> ava:164)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:566)
> at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
> rValve.java:170)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:564)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
> ava:170)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:564)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
> ve.java:163)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:566)
> at
> org.apache.catalina.core.StandardPipeline.invoke

RE: Cannot retrieve definition for form bean null

2002-06-10 Thread Chandra Sekharan Bhaskaran

Hi ,
When you are forwording the request to the jsp page 
directly. The jsp page implictly populates the page(the page to
which 
you are forwording) with the corresponding form bean.
Since the form bean is not instantiated it will give this error.
Make sure that form bean is instantiated when the jsp page is
also 
displayed.
Bye
C.Bhaskaran

-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]] 
Sent: Monday, June 10, 2002 10:03 PM
To: Struts Users Mailing List
Subject: Re: Cannot retrieve definition for form bean null


It sounds like the JSP includes a  and the action associated
with the form does not have a name property. 

The  tag does not know which action was used to start the
current request/response cycle, only where it is suppose to submit to
start the next cycle.

-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services


Supriya Saha wrote:
> 
> Hi,
>   I just started using Struts. I am facing some problems with Struts. 
> I have an actions defined and there is a form bean attached to the 
> action. The web server is calling the action properly upon request, 
> creating the right form bean and passing it to the 'perform' method of

> the action class. But when I am forwarding the request to the jsp page

> I am getting the following Exception :
> 
> [ERROR,EmbeddedCatalinaServiceSX] ApplicationDispatcher[/pportal] 
> Servlet.servic
> e() for servlet jsp threw exception
> javax.servlet.ServletException: Cannot retrieve definition for form 
> bean null
> at 
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageCon
> textImpl.java:457)
> at
> org.apache.jsp.sendMail$jsp._jspService(sendMail$jsp.java:384)
> at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at 
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspSer
> vlet.java:202)
> at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
> 82)
> at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
> atcher.java:679)
> at 
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
> ispatcher.java:431)
> at 
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
> patcher.java:355)
> at 
> org.apache.struts.action.ActionServlet.processActionForward(ActionSer
> vlet.java:1759)
> at 
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:159
> 6)
> at
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:247)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:193)
> at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.java:243)
> at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:566)
> at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 
> at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> alve.java:201)
> at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:566)
> at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
> torBase.java:518)
> at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:564)
> at 
> org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve
> .java:246)
> at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:564)
> at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 
> at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
> 2344)
> at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> ava:164)
>   

Re: Cannot retrieve definition for form bean null - Whats the deal?

2003-03-27 Thread Nicolas De Loof

I think you don't have defined an action-mapping for path "insertUser".

 looks for the form-bean name in mappings that comes with the path that is 
set by action attribute. It find
nothing so "null" is the name of the current bean that it is looking for, and you get 
this exception.


Nico.



> I have the following code in my struts config:
> ...
>  name="jumpCenterForm"
> type="form.JumpCenterForm"
> />
> ...
>
> ...
>  path="/viewJumpCenter"
> type="action.ViewJumpCenterAction"
> scope="request"
> name="jumpCenterForm"
> validate="false"
> input="screen.jumpCenter">
>  />
> 
> ...
>
> ...
> 
> ...
> 
>
> ...
>
> When the action viewJumpCenter is called, I receive the following error:
> [ServletException in:/WEB-INF/jsp/jumpCenter.jsp] Cannot retrieve definition
> for form bean null'
>
> What is happening here?  I have several other forms setup like this that do
> not require me to specify the type of form bean in the html:form tag.  What
> else could be causing this error?  I put debug statements in the form and
> action constructors, they are being created fine.  Any Ideas?
>
> Regards,
>
> Joshua
>
>
> This communication, including attachments, is for the exclusive use of
> addressee and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, any use, copying,
> disclosure, dissemination or distribution is strictly prohibited. If
> you are not the intended recipient, please notify the sender
> immediately by return email and delete this communication and destroy all copies.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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



Re: Cannot retrieve definition for form bean null - Whats the deal?

2003-03-27 Thread Jeff Kyser
Any chance of a typo in your

	

in your jumpCenter.jsp file?

-jeff

On Thursday, March 27, 2003, at 09:35  AM, White, Joshua A (CASD, IT) 
wrote:

I have the following code in my struts config:
...

...
...

path="/viewJumpCenter"
type="action.ViewJumpCenterAction"
scope="request"
name="jumpCenterForm"
validate="false"
input="screen.jumpCenter">

/>

...

...

...

...

When the action viewJumpCenter is called, I receive the following 
error:
[ServletException in:/WEB-INF/jsp/jumpCenter.jsp] Cannot retrieve 
definition
for form bean null'

What is happening here?  I have several other forms setup like this 
that do
not require me to specify the type of form bean in the html:form tag.  
What
else could be causing this error?  I put debug statements in the form 
and
action constructors, they are being created fine.  Any Ideas?

Regards,

Joshua

This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If
you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy 
all copies.

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


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