Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to pass an array parameter with url? Please help!

843836Jun 16 2005 — edited Jun 17 2005
My 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!!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 15 2005
Added on Jun 16 2005
10 comments
405 views