GBKRequestProcessor 的主要作用是为 Struts 添加了一个运行过滤器,对经过其的数据进行过滤转码为 GB2312
Struts 实现中文支持步骤
- 编写GBKRequestProcessor类,继承RequestProcessor。
GBKRequestProcessor类保存于 Action 包 - 重写方法 processPreprocess(),指定字符集。
[......]
GBKRequestProcessor 的主要作用是为 Struts 添加了一个运行过滤器,对经过其的数据进行过滤转码为 GB2312
Struts 实现中文支持步骤
[......]
近期评论