wood burning stoves 2.0*
The moose likes Struts and the fly likes how to retrive value of html:multibox property value in Action class and set in session object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to retrive value of html:multibox property value in Action class and set in session object" Watch "how to retrive value of html:multibox property value in Action class and set in session object" New topic
Author

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

ashishk sharma
Greenhorn

Joined: Oct 23, 2008
Posts: 11
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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to retrive value of html:multibox property value in Action class and set in session object