tomcat 6.0.16 에서 6.0.18 로 패치를 수행하니..
이게왠겔 empty EL 을 쓴 곳에서 무지막지하게 에러가 난다.
에러는 아래와 같다!!
org.apache.jasper.JasperException: /WEB-INF/어쩌고/저쩌고.jsp(라인,0) "${!empty(xx)}"
contient d'incorrecte(s) expression(s): javax.el.ELException: Function ':empty' not foundjasper, 이놈의 구현체에서 버그가 발생한 것이다.!!
음 이미 널리 보고된 버그이며 아래 링크에서 간단히 픽스할 수 있는 방법을 소개하고 있다.
http://jira.codehaus.org/browse/CONTINUUM-1844
The workaround is very simple :empty 나 not 과 () 를 함께 쓸때 한칸 띄어서 쓸 것.
replace EL expressions containing "empty(" with "empty (", and "not(" with "not (" as EL expression requires.
나같은 경우에는 특별히 괄호를 쓸 이유가 없어서 empty(SomeExpression) 을 empty SomeExpression 이런 식으로 괄호를 제거해버렸더니 정상 작동한다. --;;


댓글을 달아 주세요