• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

appending parameters to url

 
sdeep anand
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.
Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can pass multiple values for a single parameter key. Just use the same key for all the values.
 
Roberto Ferraz
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In your servlet, you must use:

It will give you a String[].
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic