| Package | Description |
|---|---|
| org.tinygroup.weblayer.webcontext.setlocacle.impl |
| Class and Description |
|---|
| SetLocaleWebContext
实现了Servlet 2.4规范中的response的方法。包括:
response.
setCharacterEncoding()方法,使之可以方便地设置输出字符编码,而不需要依赖于
setContentType()方法。
response.getContentType()方法,使之可以取得当前输出的content type。
设置区域和编码字符集。包括:
LocaleUtil.setContextLocale()
request.setCharacterEncoding()
response.setLocale()
response.setCharacterEncoding()。
|
Copyright © 2006–2018 TinyGroup. All rights reserved.