IT(job)/ETC
[Eclipse Error]jspService is exceeding the 65535 bytes limit
지긋이
2019. 6. 14. 09:47
The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the...
잘 쓰고 있던 프로그램이 계속 용량 초과 오류가 발생되었다.
Test 서버에서는 잘 구동되고 있고, 예전에도 분명 수정했던 적이 있었던 페이지인데?!
원인은 mapped 설정. 기본이 true 인듯하다.
서버쪽 web.xml에 아래와 같이 추가해준다.
<servlet> <servlet-name>jsp</servlet-name> ... 대략적인 기본 설정 내용이 들어가있다. <init-param> <param-name>mappedfile</param-name> <param-value>false</param-value> </init-param> </servlet> |
위의 mappedfile이 핵심내용이며,
web.xml의 servlet 구문 안에 위의 강조된 내용을 추가 한 후 서버를 재부팅 한다.
반응형