Is it possible to pick and choose what parameters to show and what parameters to not show in a URL?
I have a controller
servlet that forwards the request/response to other servlets depending upon one given parameter.
Here is a snippet of code for the controller servlet:
In the other servlets, there is an array of a parameter. What I don't want is the "arrayed" parameter to be appended to the URL. example:
http://localhost:8080/myApp/exportData?type=pdf?customerId=1?customerId=2?customerId=3
Here is a snippet of code for the "other" servlet:
I want the controller servlet to list the one parameter in the URL. example:
http://localhost:8080/myApp/exportData?type=pdf INSTEAD OF
http://localhost:8080/myApp/exportData?type=pdf?customerId=1?customerId=2?customerId=3. Is this possible?