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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets 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

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to retrive value of html:multibox property value in Action class and set in session object
 
Similar Threads
Problem with <html:form>
html:checkbox or html:multibox
multibox , resultSet, logic:iterate
to get value of disabled check box value in action class
Using HTML:Multibox