URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "')"
Is there a workaround or JSTL equivalent for this? Here is the formatting code, I'm not too strong in this area, so any help would be appreciated.
- Nic.
----------------------
<%-- The query comes in here, and we format it appropriately --%>
<c:set var="query"><%= URLDecoder.decode(request.getParameter("query")) %></c:set>
<%-- Then we drop it into a sql query command, once again formatting --%>
<c:set var="newquery"><c:out value='${query}' escapeXml="false"/></c:set>
<c:catch var="error">
<sql:query var="search"><c:out value="${newquery}" escapeXml="false"/></sql:query>
</c:catch>
<c:out value="${query}"/>
<c:out value="${error}"/>
---------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]