• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

LazyDynaBean- struts 1.3.8 Casting problem with ActionForm Object

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
i am using Struts 1.3.8
while cadting the ActionForm object to LazyDynaBean object in Action Class, it is raising a compilation error saying " Can not cast ActionFor to LazyDynaBean".

code snippet:
LazyDynaBean ldb=(LazyDynaBean) form; // form is an obj of ActionForm passwed in execute method.

i am not looking for an alternative like LazyValidatorForm or something. I am studying it. So need to correct the error.
Thanks in advance experts
 
Ranch Hand
Posts: 296
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please search first before posting.

Old Post
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!