I have one showdata.jsp which contains all the data from MySQL database in table format. The table fields are,
id,firstname,lastname
and all fields are varchar in the database.
At each row, the table has update button to edit the row details. I am passing the id of the row from the showdata.jsp to the updatedata.jsp where updatedata.jsp has the text field for retrieving data and edit it. This is working fine for parameter(id/string) without containing special characters, but for special character strings/ ids this is not retrieving the data.
URL passed on showdata.jsp is
<a href="updatedata.jsp?id=<%=request.getParameter(1)%>">Update</a>