Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to retrive value of html:multibox property value in Action class and set in session object

 
ashishk sharma
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI

i m uisng Struts dynaActionform ,

i have one property in my JSP using html:multibox property="selectedvalue"

now i want to retirve this values in my Action class when user click on submit button and

also want to set this selected values in my session object so that i can use this value in next JSP pages.

i have defined this property in XML <form-property name="selectedvalue" type="java.lang.String[]"/>

please give me piece of code so that i can understood how to retrive this value in Action class and set in session objecy

please help me out..its very urgent.

Thanks

Ashish ashish.mitujn07@gmail.com

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic