This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
Similar Threads
multibox , resultSet, logic:iterate
Using HTML:Multibox
to get value of disabled check box value in action class
html:checkbox or html:multibox
Problem with <html:form>