i have an application where i have to pass a string with spaces in between to a servlet.
following is the code snip
<td> <input type="checkbox" name="tests" value= <%=reports[i]%> > <%=reports[i]%>
if i do in this way i can get only the first word of the string in the next page...
but i want the entire string..
thanks in advance
Originally posted by Sunil Kumar:
Looks like you are using get method for form submission. If so,
configure the server.xml to enable the
Use the java.net.URLDecoder.decode() to decode the url query. e.g. java.net.URLDecoder.decode(request.getQueryString(), formSubmitEncoding) while using getParameter
This is not applicable here. That's not a solution for the problem of the topicstarter.