• Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts

 
siddharth sharma
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have 2 queries,
1.How can i populate a form bean in my action class when that form bean has elements that have array of beans

eg

XformBean
{
setBean(Ybean[]);
Ybean[] getBean();

}


2.If i m doin action chaning, then how should i do exception handling?

say action1 calls action2,action3 and action4.

then if some error occurs in action2,action3 or action4, then how can i catch the exception in action 1, the action class that is working as a controller here.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!