com.poscoict.glueframework.web
Class GlueCharacterEncodingFilter
java.lang.Object
com.poscoict.glueframework.web.GlueCharacterEncodingFilter
- All Implemented Interfaces:
- Filter
public class GlueCharacterEncodingFilter
- extends Object
- implements Filter
Ŭ¶óÀ̾ðÆ®(º¸Åë À¥ ºê¶ó¿ìÀú)·Î ¿äû ¹ÞÀº ¹®ÀÚ¸¦ ÁöÁ¤µÈ ÀÎÄÚµùÀ¸·Î ¼³Á¤ÇØÁÖ´Â ÇÊÅÍ Å¬·¡½º. Tomcat °°Àº °æ¿ì
Post ¹æ½ÄÀ¸·Î ÇÑ±Û ¹®ÀÚ ÆĶó¸ÞÅÍ°¡ ¼¹ö·Î Àü´ÞµÇ¸é ÇÊÈ÷ º» ÇÊÅÍ Å¬·¡½º¸¦ web.xml ÆÄÀÏ¿¡ encoding
Á¤º¸¸¦ ÁöÁ¤ÇØ ÁÖ¾î¾ß ÇÑ´Ù.
web.xml ÆÄÀÏ ³»¿ë
Set Character Encoding
com.poscoict.glueframework.web.GlueCharacterEncodingFilter
encoding
EUC_KR
Set Character Encoding
/*
javax.servlet.Filter¸¦ implements ÇÑ ÇÊÅÍÀ̹ǷΠServlet 2.3 ½ºÆå ÀÌ»óÀ» Áö¿øÇÏ´Â ÄÁÅ×À̳ʿ¡¼ µ¿ÀÛÇÑ´Ù.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
encoding
protected String encoding
filterConfig
protected FilterConfig filterConfig
ignore
protected boolean ignore
GlueCharacterEncodingFilter
public GlueCharacterEncodingFilter()
init
public void init(FilterConfig config)
throws ServletException
- Specified by:
init
in interface Filter
- Throws:
ServletException
doFilter
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws IOException,
ServletException
- Specified by:
doFilter
in interface Filter
- Throws:
IOException
ServletException
destroy
public void destroy()
- Specified by:
destroy
in interface Filter
Copyright © 2013–2015 POSCO ICT SWÁ¦Ç°±â¼úÆÀ. All rights reserved.