How to pass an array parameter with url? Please help!
843836Jun 16 2005 — edited Jun 17 2005My application needs to pass an array parameter with url. Some explanation code as below.
String [ ] userNames = {"a","b","c"}
String infile= "myPage.jsp?Name=" + userName;
String outFile = "something";
createPDF(infile, outfile);
When the appliction tried to retrieve the values of Name in the myPage.jsp, got java.lang.String;@28fd. I think this is because the values of Name is an array, and there is something wrong in passing.
I have tried for one week, but still didn't work out. Please help me if you know the answer. Thanks!!!