I am trying to save a parameter to a string variable in JSP but cannot figure out how to do it.
The request is working as it should and the data is being retrieved.
<%= request.getParameter("page") %>
But how can I save it as a string?
<% String temp = '<%= request.getParameter("page") %>'; %>
The above code doesn't work. :(