I am trying to get a query parameter that has '&' sybol at the beginning, like: - http://localhost:8080/simple.jsp?my=&234587
On another page, I get it as String value=request.getParameter("my"); value.substring(0,4);
String value=request.getParameter("my"); value.substring(0,4);
I want to receive & 234, please suggest that I do not receive any value.
Thanks Ars
source share