Apache Projects/Jakarta

[Tip] struts를 이용한 nocahe 처리..

아름프로 2003. 11. 7. 16:42
html 상에서 아래와 같이 화면단위의 처리를 ...
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Pragma" content="no-cache">

struts-config.xml 에서의

<controller
  contentType="text/html;charset=euc-kr"
  nocache="true" />

설정만 해주면 된다.






***** 아름다운프로님에 의해서 게시물 복사 + 카테고리유지되었습니다 (2003-12-18 17:23)