I've finally met this problem I mentioned before (for ref: http://www.mail-archive.com/[email protected]/msg06617.html) :
org.apache.jasper.JasperException:
> /WEB-INF/view/jsp/default/ui/casLoginView.jsp(48,35) Attribute value
> request.getQueryString() == null ? "" :
> request.getQueryString().replaceAll("&locale=([A-Za-z][A-Za-z]_)?[A- Za-z][A-Za-z]|^locale=([A-Za-z][A-Za-z]_)?[A-Za-z][A-Za-z]", > "") is quoted with " which must be escaped when used within the value

It happened when I switch my tomcat version from 6.0.16 -> 6.0.18. (I'm not sure whether it's caused by tomcat).
After changing the code in casLoingView.jsp from:
<c:set var="query" value="<%=request.getQueryString() == null ? "" : request.getQueryString().replaceAll("&locale=([A-Za-z][A-Za-z]_)?[A-Za- z][A-Za-z]|^locale=([A-Za-z][A-Za-z]_)?[A-Za-z][A-Za-z]", "")%>" />
to:
<c:set var="query" value='<%=request.getQueryString() == null ? "" : request.getQueryString().replaceAll("&locale=([A-Za-z][A-Za-z]_)?[A-Za- z][A-Za-z]|^locale=([A-Za-z][A-Za-z]_)?[A-Za-z][A-Za-z]", "")%>' /> The problem get solved. I'm not sure whether this is a known issue or not. Just reported here in case anyone has the same problem :-)
The CAS version I'm used is: JA-SIG Central Authentication Service 3.1.1
- Li Wei Nan
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to