Re: Cannot find bean XXX in any scope - error

2003-08-14 Thread Nagendra Kumar O V S








  hi,
  the name of the bean is case-sensitive...
  logic:iterate name="tayloringForm" property="openFailures" 
  id="OpenFailureDescriptor"
  "tayloringForm " as defined in the config file
  
  check it out
  
  --nagi
  
  ---Original Message---
  
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, August 
  05, 2003 04:47:14 PM
  To: Struts Users Mailing 
  List
      Subject: Cannot find 
  bean "XXX" in any scope - error
  Guys,Any help is appreciated in this regard -In 
  struts-config.xml, I have an action mapping as below -action 
  name="tayloringForm" 
  path="/Tayloring/ShowAllOpenFailures"scope="request" 
  type="tayloring.ShowAllOpenFailuresAction" 
  validate="false"forward name="success" 
  path="/pages/tayloring/all_open_failures.jsp" 
  //actionand definition for form bean is as below 
  -form-bean name="tayloringForm" 
  type="tayloring.TayloringForm"/form-beanShowAllOpenFailuresAction 
  class, sets a property in the form 
  bean,((TayloringForm)form).setOpenFailures(openfailures); and fowards 
  to"success"In all_open_failures.jsp, i have the 
  followinglogic:iterate name="TayloringForm" 
  property="openFailures" 
  id="OpenFailureDescriptor"trtd width="14%" 
  align="center" 
  bgcolor="#bb"bbean:writename="OpenFailureDescriptor" 
  property="facilityID"//b/td/logic:iterateWhen 
  i access this page via Tayloring/ShowAllOpenFailures action, i get 
  thefollowing error,org.apache.jasper.JasperException: Cannot find 
  bean TayloringForm in 
  anyscopeatorg.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)atorg.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)...Thanks,Arindam-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




 IncrediMail - 
Email has finally evolved - Click 
Here



Cannot find bean XXX in any scope - error

2003-08-14 Thread arindam . samanta

Guys,
Any help is appreciated in this regard -
In struts-config.xml,  I have an action mapping as below -
  action name=tayloringForm path=/Tayloring/ShowAllOpenFailures
scope=request  type=tayloring.ShowAllOpenFailuresAction validate
=false
 forward name=success path
=/pages/tayloring/all_open_failures.jsp /
  /action

and definition for form bean is as below -
  form-bean name=tayloringForm type=tayloring.TayloringForm
  /form-bean

ShowAllOpenFailuresAction class, sets a property in the form bean,
((TayloringForm)form).setOpenFailures(openfailures); and fowards to
success

In all_open_failures.jsp, i have the following
logic:iterate name=TayloringForm property=openFailures id
=OpenFailureDescriptor
trtd width=14% align=center bgcolor=#ean:write
name=OpenFailureDescriptor property=facilityID
//b/td
 /logic:iterate

When i access this page via Tayloring/ShowAllOpenFailures action, i get the
following error,
org.apache.jasper.JasperException: Cannot find bean TayloringForm in any
scope
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)

at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
..


Thanks,
Arindam







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



Re: Cannot find bean XXX in any scope - error

2003-08-14 Thread arindam . samanta

thanks..it is working...
BTW..what's his name?
Thanks,
 Arindam







   

Nagendra  

Kumar O V S To: [EMAIL PROTECTED]   
   
[EMAIL PROTECTED]cc:  
 
go.com  Subject: Re: Cannot find bean XXX in 
any scope - error  
   

08/05/2003 

05:45 PM   

Please 

respond to 

Struts Users  

Mailing List  

   

   




   

 hi,   

 u don't have to declare any classes .. the framework pick it up from the classpath

   

 logic:iterate name=tayloringForm property=openFailures 
id=openFailureDescriptor type   
 =tayloring.OpenFailureDescriptor   

   

 is absolutely correct  should work for u...  

   

 BTW, FYI my brother-in-law is working in ur company   

   

 -- nagi   

 ---Original Message---

   

 From: Struts Users Mailing List   

 Date: Tuesday, August 05, 2003 05:16:56 PM

 To: Struts Users Mailing List 

 Subject: Re: Cannot find bean XXX in any scope - error  

   

 Thanks Nagi..the error for Form bean is gone...but now the error is   

 displayed for the descriptor class...Cannot find bean

 OpenFailureDescriptor in scope request   

 Property openFailures in tayloringForm is a List which holds  

 OpenFailureDescriptor objects.

   

 i have tried changing the logic:iterate as below  

 logic:iterate name=tayloringForm property=openFailures id

 =OpenFailureDescriptor scope=request type 

 =tayloring.OpenFailureDescriptor   

   

 Should i declare all the descriptor or value objects somewhere?   

   

 Thanks,   

 Arindam

Re: Cannot find bean XXX in any scope - error

2003-08-07 Thread Nagendra Kumar O V S








  hi,
  u don't have to declare any classes .. the framework pick it up from 
  the classpath
  
  logic:iterate name="tayloringForm" property="openFailures" 
  id="openFailureDescriptor" 
type="tayloring.OpenFailureDescriptor"
  
  is absolutelycorrect  should work for u...
  
  BTW, FYI my brother-in-law is working in ur company
  
  -- nagi
  ---Original Message---
  
  
  From: Struts Users Mailing 
  List
  Date: Tuesday, August 
  05, 2003 05:16:56 PM
  To: Struts Users Mailing 
  List
      Subject: Re: Cannot 
  find bean "XXX" in any scope - error
  Thanks Nagi..the error for Form bean is gone...but now 
  the error isdisplayed for the descriptor class..".Cannot find 
  beanOpenFailureDescriptor in scope request"Property openFailures 
  in tayloringForm is a List which holdsOpenFailureDescriptor 
  objects.i have tried changing the logic:iterate as 
  belowlogic:iterate name="tayloringForm" property="openFailures" 
  id="OpenFailureDescriptor" scope="request" 
  type="tayloring.OpenFailureDescriptor"Should i declare all 
  the descriptor or value objects 
  somewhere?Thanks,Arindam"Nagendra 
      Kumar O V S" To: [EMAIL PROTECTED] 
  [EMAIL PROTECTED] cc: go.com Subject: Re: Cannot find bean 
  "XXX" in any scope - error 08/05/2003 05:11 PM Please 
  respond to "Struts Users Mailing List" 
  hi, the name of the bean is 
  case-sensitive... logic:iterate name="tayloringForm" 
  property="openFailures" id="OpenFailureDescriptor" "tayloringForm 
  " as defined in the config file check it out.... 
      --nagi ---Original Message--- From: Struts 
  Users Mailing List Date: Tuesday, August 05, 2003 04:47:14 PM To: 
  Struts Users Mailing List Subject: Cannot find bean "XXX" in any scope 
  - error Guys, Any help is appreciated in this regard - In 
  struts-config.xml, I have an action mapping as below - action 
  name="tayloringForm" path="/Tayloring/ShowAllOpenFailures" 
  scope="request" type="tayloring.ShowAllOpenFailuresAction" validate 
  ="false" forward name="success" path 
  ="/pages/tayloring/all_open_failures.jsp" / /action 
  and definition for form bean is as below - form-bean 
  name="tayloringForm" type="tayloring.TayloringForm" 
  /form-bean ShowAllOpenFailuresAction class, sets a 
  property in the form bean, 
  ((TayloringForm)form).setOpenFailures(openfailures); and fowards to 
  "success" In all_open_failures.jsp, i have the following 
  logic:iterate name="TayloringForm" property="openFailures" id 
  ="OpenFailureDescriptor" trtd width="14%" 
  align="center" bgcolor="#bb"bbean:write 
  name="OpenFailureDescriptor" property="facilityID" 
  //b/td /logic:iterate When i 
  access this page via Tayloring/ShowAllOpenFailures action, i get the 
  following error, org.apache.jasper.JasperException: Cannot find 
  bean TayloringForm in any scope at 
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254) 
  at 
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) 
  ... Thanks, Arindam 
  - 
  To unsubscribe, e-mail: [EMAIL PROTECTED] 
  For additional commands, e-mail: [EMAIL PROTECTED] 
  . 
  IncrediMail 
  - Email has finally evolved - Click 
  Here-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For 
  additional commands, e-mail: [EMAIL PROTECTED].





	
	
	
	
	
	
	




 IncrediMail - 
Email has finally evolved - Click 
Here



Re: Cannot find bean XXX in any scope - error

2003-08-06 Thread arindam . samanta

Thanks Nagi..the error for Form bean is gone...but now the error is
displayed for the descriptor class...Cannot find bean
OpenFailureDescriptor in scope request
Property openFailures  in tayloringForm is a List  which holds
OpenFailureDescriptor objects.

i have tried changing the logic:iterate as below
logic:iterate name=tayloringForm property=openFailures id
=OpenFailureDescriptor scope=request type
=tayloring.OpenFailureDescriptor

Should i declare all the descriptor or value objects somewhere?

Thanks,
 Arindam







   

Nagendra  

Kumar O V S To: [EMAIL PROTECTED]   
   
[EMAIL PROTECTED]cc:  
 
go.com  Subject: Re: Cannot find bean XXX in 
any scope - error  
   

08/05/2003 

05:11 PM   

Please 

respond to 

Struts Users  

Mailing List  

   

   




   

 hi,   

 the name of the bean is case-sensitive... 

 logic:iterate name=tayloringForm property=openFailures 
id=OpenFailureDescriptor   
 tayloringForm  as defined in the config file

   

 check it out  

   

 --nagi

   

 ---Original Message---

   

 From: Struts Users Mailing List   

 Date: Tuesday, August 05, 2003 04:47:14 PM

 To: Struts Users Mailing List 

 Subject: Cannot find bean XXX in any scope - error  

   

 Guys, 

 Any help is appreciated in this regard -  

 In struts-config.xml, I have an action mapping as below - 

 action name=tayloringForm path=/Tayloring/ShowAllOpenFailures

 scope=request type=tayloring.ShowAllOpenFailuresAction validate   

 =false 

 forward name=success path  

 =/pages/tayloring/all_open_failures.jsp /  

 /action 

   

 and definition for form bean is as below -

 form-bean name=tayloringForm type=tayloring.TayloringForm   

 /form-bean