RE: form bean null

2003-05-29 Thread Vinay Mhapankar

Is the name attribute missing in say bean:write tags? Name shud be form bean name.
Please check that.

Thanks.

-Vinay

-Original Message-
From: Frances Aleah Z. de Guzman [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 29, 2003 7:28 AM
To: Struts Users Mailing List
Subject: form bean null

what does this error mean? cannot retrieve definiton for form bean null
-- 
Frances Aleah Z. De Guzman
SA/Programmer
Ingenium Technology, Inc.
http://www.ingenium.com.ph

Disclaimer :
This message is intended only for the named recipient. If you are not the
intended recipient you are notified that disclosing, copying, distributing
or taking any action in reliance on the contents of this information is
strictly prohibited.



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.484 / Virus Database: 282 - Release Date: 5/27/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.484 / Virus Database: 282 - Release Date: 5/27/2003
 

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



Re: Form bean null

2003-02-20 Thread Eddie Bush
You might also try Google ;-)
(You'll be amazed!  Try it!)

Sri Sankaran wrote:


Usually an indication that your setup is incorrect -- no name attribute for a mapping that uses  etc.

Please take a look at the archives for previous references to the problem for hints.  You can search using various tools.  Take your pick of :

http://marc.theaimsgroup.com/?l=struts-user
http://nagoya.apache.org/eyebrowse/SearchList?[EMAIL PROTECTED]
http://www.mail-archive.com/struts-user%40jakarta.apache.org/

Sri

-Original Message-
From: Curley, John [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 20, 2003 9:32 AM
To: '[EMAIL PROTECTED]'
Subject: Form bean null

Hi, 

I'm new to Struts.  I am trying to use an exsiting jsp file in a new project and received the following error when trying to display it:

[ServletException in:/jsps/addAssociate.jsp] Cannot retrieve definition for form bean null' 

Anyone know where I should look to fix this?  General info on what makes this occur?

Thanks,
John


--
Eddie Bush





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




RE: Form bean null

2003-02-20 Thread Sri Sankaran
Usually an indication that your setup is incorrect -- no name attribute for a mapping 
that uses  etc.

Please take a look at the archives for previous references to the problem for hints.  
You can search using various tools.  Take your pick of :

http://marc.theaimsgroup.com/?l=struts-user
http://nagoya.apache.org/eyebrowse/SearchList?[EMAIL PROTECTED]
http://www.mail-archive.com/struts-user%40jakarta.apache.org/

Sri

-Original Message-
From: Curley, John [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 20, 2003 9:32 AM
To: '[EMAIL PROTECTED]'
Subject: Form bean null



Hi, 

I'm new to Struts.  I am trying to use an exsiting jsp file in a new project and 
received the following error when trying to display it:

[ServletException in:/jsps/addAssociate.jsp] Cannot retrieve definition for form bean 
null' 

Anyone know where I should look to fix this?  General info on what makes this occur?

Thanks,
John

-
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: Form bean null

2003-02-20 Thread Jarnot Voytek Contr AU HQ/SC
http://marc.theaimsgroup.com/?l=struts-user&w=2&r=1&s=Cannot+retrieve+defini
tion+for+form+bean&q=b

--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.


> -Original Message-
> From: Curley, John [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 20, 2003 8:32 AM
> To: '[EMAIL PROTECTED]'
> Subject: Form bean null
> 
> 
> 
> Hi, 
> 
> I'm new to Struts.  I am trying to use an exsiting jsp file 
> in a new project
> and received the following error when trying to display it:
> 
> [ServletException in:/jsps/addAssociate.jsp] Cannot retrieve 
> definition for
> form bean null' 
> 
> Anyone know where I should look to fix this?  General info on 
> what makes
> this occur?
> 
> Thanks,
> John
> 
> -
> 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: Form bean null

2003-02-20 Thread James Childers
http://marc.theaimsgroup.com/?l=struts-user&w=2&r=1&s=form+bean+null&q=b

-= J

> -Original Message-
> From: Curley, John [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 20, 2003 8:32 AM
> To: '[EMAIL PROTECTED]'
> Subject: Form bean null
> 
> 
> 
> Hi, 
> 
> I'm new to Struts.  I am trying to use an exsiting jsp file 
> in a new project
> and received the following error when trying to display it:
> 
> [ServletException in:/jsps/addAssociate.jsp] Cannot retrieve 
> definition for
> form bean null' 
> 
> Anyone know where I should look to fix this?  General info on 
> what makes
> this occur?
> 
> Thanks,
> John
> 
> -
> 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: Form bean -> null

2002-02-14 Thread Konstantina Stamopoulou

Well,
Actually my error was that I was associating MyForm with the wrong action.
Thank U for pointing that out.

Konstantina

>
> On Thu, 14 Feb 2002 11:36:14 +0200 "Konstantina Stamopoulou"
<[EMAIL PROTECTED]>
> wrote:
> >Hello,
> >I need to use a  form bean  in struts and this is the first time I'm
doing
> that .So as newbie
> I feel I'm missing something basic. Can U help me? This is my case.
> >I have my struts-config :
> >
> > 
> >   
> >
> >
> >
> >  >type="provider.test.MyFormAction"
> >name="MyForm"
> >scope="request"
> >validate="false">
> >  
> > 
> >
> >
> >I have MyForm Bean with set and get methods and I have MyForm Action
which
> just initializes
> my form:
> >
> >
> >.
> >
> >if (form == null) {
> >
> >  System.out.println("Form is null");
> >
> > form = new MyForm();
> >if ("request".equals(mapping.getScope()))
> >request.setAttribute(mapping.getAttribute(), form);
> >else
> >session.setAttribute(mapping.getAttribute(), form);
> > }
> > MyForm strmform = (MyForm) form;
> >
> >and finally my .jsp is the following:
> >
> >
> > Destination IP Address : 
> >  .

> >  .

> >  .

> >  .

> >   
> > 

> > 

> > 
> 
> >
> >
> > 
> >
> >
> >When I callthis page I get a :
> >
> >javax.servlet.ServletException: Cannot retrieve definition for form bean
null
> >
> >error, and I cannot fingure out what I 'm doing wrong.
> >
> >I would appriciated if U could provide me with any info regarding this
problem.
> >
> >Thank U in advance,
> >Konstantina
> >
> >
> >
> >
> >
>
>
> --
> Get your firstname@lastname email at http://Nameplanet.com/?su
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


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




RE: Form bean -> null

2002-02-14 Thread Andres Marcel (KASO 211)

Hi Konstantina,

How do you call your page? If you first call is not like ".do", then the action will 
not be invoked, therefore the form bean is not initialized.

Marcel

-Original Message-
From: Konstantina Stamopoulou [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 10:36 AM
To: Struts Users Mailing List
Subject: Form bean -> null


Hello,
I need to use a  form bean  in struts and this is the first time I'm doing that .So as 
newbie I feel I'm missing something basic. Can U help me? This is my case.
I have my struts-config :

 
   



 
  



I have MyForm Bean with set and get methods and I have MyForm Action   which just 
initializes my form:


.

if (form == null) {
  
  System.out.println("Form is null");

 form = new MyForm();
if ("request".equals(mapping.getScope()))
request.setAttribute(mapping.getAttribute(), form);
else
session.setAttribute(mapping.getAttribute(), form);
 }
 MyForm strmform = (MyForm) form;

and finally my .jsp is the following:


 Destination IP Address :  
  . 
  . 
  . 
  . 

  
  
 

   
  


When I callthis page I get a :

javax.servlet.ServletException: Cannot retrieve definition for form bean null

error, and I cannot fingure out what I 'm doing wrong.

I would appriciated if U could provide me with any info regarding this problem.

Thank U in advance,
Konstantina



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




Re: Form bean -> null

2002-02-14 Thread geert

you declare an action 'editStream' which you tell to use a form called 'MyForm'
but afterwards you call an action called 'details'.
Is the 'name="MyForm" ' line in the declaration of 'details'action ??



On Thu, 14 Feb 2002 11:36:14 +0200 "Konstantina Stamopoulou" <[EMAIL PROTECTED]> 
wrote:
>Hello,
>I need to use a  form bean  in struts and this is the first time I'm doing 
that .So as newbie
I feel I'm missing something basic. Can U help me? This is my case.
>I have my struts-config :
>
> 
>   
>
>
>
> type="provider.test.MyFormAction"
>name="MyForm"
>scope="request"
>validate="false">
>  
>
>
>
>I have MyForm Bean with set and get methods and I have MyForm Action   which 
just initializes
my form:
>
>
>.
>
>if (form == null) {
>  
>  System.out.println("Form is null");
>
> form = new MyForm();
>if ("request".equals(mapping.getScope()))
>request.setAttribute(mapping.getAttribute(), form);
>else
>session.setAttribute(mapping.getAttribute(), form);
> }
> MyForm strmform = (MyForm) form;
>
>and finally my .jsp is the following:
>
>
> Destination IP Address :  
>  . 
>  . 
>  . 
>  . 
>
>  
>  
>  
   
>
>   
>  
>
>
>When I callthis page I get a :
>
>javax.servlet.ServletException: Cannot retrieve definition for form bean null
>
>error, and I cannot fingure out what I 'm doing wrong.
>
>I would appriciated if U could provide me with any info regarding this problem.
>
>Thank U in advance,
>Konstantina
>
>
>
>
>


-- 
Get your firstname@lastname email at http://Nameplanet.com/?su

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