The below line is not passing validation in my application. The error is in Netbeans is…
Bad value " /content/edit" for attribute href on element "a": WHITESPACE in PATH
<a href="<%=request.getAttribute("urlPrefix")%>/content/edit">Add Content</a>
The runtime error is:
org.apache.jasper.JasperException: /base.jsp(9,25) PWC6213: quote symbol expected
I am passing an attribute for this value. Why am I getting this error when I pass a value?
Don’t use scriptlets in JSP. Use the JSP EL: