Pop up using struts
Posted on 2006-07-04
I am new to struts. I need to generate a popup window and pass values to it using struts.
I found the following code on net
<input type="hidden" name="selectedItem" value=""/>
My doubt is how to pass this selected item as a parameter to popup.do. in the above function it is passing as a url. Can I directly access this in the action class. or do I need to use some statement as
req.getParameter("selectedItem") in the action class.