출처 : http://valley.egloos.com/viewer/?url=http://parandiary.egloos.com/3017034


is quoted with " which must be escaped when used within the value

Attribute value  (String)ncontext.getSParameter( "kiUnit" )  is quoted with " which must be escaped when used within the value



JSP 페이지에서 

<some:tag title=”<%=(String)request.getAttribute(”title”)%>”> 류의 테그들은

tomcat 6부터 strict quote escaping 오류를 발생시킨다.


해결방법은 

1. 연속되는 double quote를 바깥쪽은 single quote로 변경해주거나

2. 하나의 쌍을 escape문자를 적용하여 \" 로변경해주거나

3. Tomcat의 $TOMCAT_HOME/conf/catalina.properties 파일에

    org.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false 

를 추가해 준다.

'Jsp_Html' 카테고리의 다른 글

[Jsp] json 데이터 생성 참고.  (0) 2014.05.15
[Jsp] CSS style !important  (0) 2013.09.13
[Jsp] DWR 설정 및 사용  (0) 2012.12.12
[Jsp] 스트러츠2 설정  (0) 2011.12.13
[Jsp] MultipartRequest 파일 업로드 I  (0) 2011.10.26

+ Recent posts