File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Sent collection through URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Sent collection through URL" Watch "Sent collection through URL" New topic

Sent collection through URL

Ranch Hand

Joined: Oct 09, 2003
Posts: 517
Hai all

I have a form,in that form a drop down is there ans there is some values also. I provided a link to a pop up window in the same page.I am using the struts tag libs.

I got the values to the drop down from like this...
<html ptions name="TimesheetBean" collection="itemcodes" labelProperty="itemCode" property="itemCode"/>

I need to get all the values in the drop down to an Action Class through a URL.
How can i do that ?
Please help me.....

Thanks in advance.
[ March 03, 2006: Message edited by: minu su ]

God Gave Me Nothing I Wanted<br />He Gave Me Everything I Needed<br /> - Swami Vivekananda
Ranch Hand

Joined: Oct 09, 2003
Posts: 517
Please any body help me.....
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
I do not fully understand your question. Are you saying that the popup needs to get all the values in the list or just the selected values? Can you retrieve the values from the database again in the popup windows action?

- Brent
I agree. Here's the link:
subject: Sent collection through URL
jQuery in Action, 3rd edition