RE: Cannot find bean under name org.apache.struts.taglib.html.BEAN

2003-08-20 Thread Giampiero De Ciantis
Found the issue. I was missing my  tag.

Maybe there should be a better error message for this.

-Gp

-Original Message-
From: Giampiero De Ciantis [mailto:[EMAIL PROTECTED] 
Sent: August 20, 2003 4:19 PM
To: 'Struts User Mailing List'
Subject: Cannot find bean under name org.apache.struts.taglib.html.BEAN

I received the following error when I tried to run one of my JSP pages which
follows an Action that completed successfully:

Cannot find bean under name org.apache.struts.taglib.html.BEAN

Here is the code to the jsp page:


  Attributes
  



 
:





 




  


Here is the code to the Action that forwards to this page:

  RequestDispatcher rd;   
  HttpSession session = request.getSession();
  int itemID =
Integer.parseInt((String)request.getParameter("itemID"));
  
  
  try{
\\ -- SNIP FOR IP PURPOSES --
 request.setAttribute("currentItem", cartItem);

  }
  catch(Exception ex){
  }
  
  
  
 
  
  // Forward the user to the "success" target
  return (mapping.findForward("success"));




-
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]



Cannot find bean under name org.apache.struts.taglib.html.BEAN

2003-08-20 Thread Giampiero De Ciantis
I received the following error when I tried to run one of my JSP pages which
follows an Action that completed successfully:

Cannot find bean under name org.apache.struts.taglib.html.BEAN

Here is the code to the jsp page:


  Attributes
  



 
:





 




  


Here is the code to the Action that forwards to this page:

  RequestDispatcher rd;   
  HttpSession session = request.getSession();
  int itemID =
Integer.parseInt((String)request.getParameter("itemID"));
  
  
  try{
\\ -- SNIP FOR IP PURPOSES --
 request.setAttribute("currentItem", cartItem);

  }
  catch(Exception ex){
  }
  
  
  
 
  
  // Forward the user to the "success" target
  return (mapping.findForward("success"));




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



Re: RE: Cannot find bean under name org.apache.struts.taglib.html.BEAN

2002-12-11 Thread aduprat . struts
I'm sure each property of the form has a getter in the for bean cause it was working 
in struts 1.0 without any module...

can it be becuse i put  in place of  ?


Message d'origine
>Sujet: RE: Cannot find bean under name org.apache.struts.taglib.html.BEAN
>Date: Wed, 11 Dec 2002 11:35:05 -0600
>De: "James Childers" <[EMAIL PROTECTED]>
>A: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>
>
>> Then i have another problem : 
>> Generated page comes with an error : 
>> javax.servlet.ServletException: Cannot find bean under name 
>> org.apache.struts.taglib.html.BEAN
>
>Check your form bean and make sure it has getters/setters for each element in the 
> tag. If it is getting thrown during validation this may be 
>what is causing your problem. 
>
>-= J
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>

-
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
Minitel: 3615 NETCOURRIER (0,15 € TTC/min)


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




RE: Cannot find bean under name org.apache.struts.taglib.html.BEAN

2002-12-11 Thread James Childers

> Then i have another problem : 
> Generated page comes with an error : 
> javax.servlet.ServletException: Cannot find bean under name 
> org.apache.struts.taglib.html.BEAN

Check your form bean and make sure it has getters/setters for each element in the 
 tag. If it is getting thrown during validation this may be 
what is causing your problem. 

-= J

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




Cannot find bean under name org.apache.struts.taglib.html.BEAN

2002-12-11 Thread aduprat . struts
Hello all.

I'm back with my modules problems.
Someone taold me that hmtl:form is bugged in struts 1.1 and that it is for this reason 
i can find any action when in a module witch is not the default one.
So i transformed my  in 

Then i have another problem : 
Generated page comes with an error : 
javax.servlet.ServletException: Cannot find bean under name 
org.apache.struts.taglib.html.BEAN

What's wrong now...
I'm quite desappointed with use of struts 1.1 :-(

Thanks to help me becoming happy with struts again.

Alexandre.

-
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
Minitel: 3615 NETCOURRIER (0,15 € TTC/min)


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