permaculture playing cards
The moose likes JSP and the fly likes appending parameters to url Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "appending parameters to url" Watch "appending parameters to url" New topic

appending parameters to url

sdeep anand

Joined: Jul 16, 2006
Posts: 7

I want to send multiple values appended to url in GET method. I am able to pass Strings. I am using it to send id value. But i want to send multiple ids for delete action. Can I pass String array to send these ids? I am using struts actions path as the url.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

You can pass multiple values for a single parameter key. Just use the same key for all the values.

[Asking smart questions] [About Bear] [Books by Bear]
Roberto Ferraz

Joined: Aug 30, 2006
Posts: 3
In your servlet, you must use:

It will give you a String[].

Java Developer
I agree. Here's the link:
subject: appending parameters to url
It's not a secret anymore!