Java-in18n和tiles框架怎么能一起使用

  2007-07-12  字体:[

为了让struts处理中文写了一个扩展RequestProcessor的类代码如下public class EncodingProcess extends RequestProcessor {public void process(HttpServletRequest request,HttpServletResponse response) throws IOException, ServletException{request.setCharacterEncoding("gb2312");response.setContentType("text/html;charset=GB2312");super.process(request, response);}}jsp页使用了tiles框架,在struts-config.xml文件里做了配置。在不使用controller 元素引入扩展RequestProcessor的类时tiles框架可以正常工作,但用controller 元素引入扩展RequestProcessor的类时,tiles框架就不能正常工作了 jsp提示如下错误javax.servlet.ServletException: Can't get definitions factory from context.这个问题怎么解决啊,help me

字串8

网友解答:

help me 字串5

网友解答:

help me

字串5

网友解答:

help me 字串2

网友解答:

检查一下你的配置文件没用过tiles关注ing-- 字串3

网友解答:

呵呵 解决了 字串4

网友解答:


上一篇:绑定了的垃圾武器怎么销毁?
下一篇:请高手回答 关于大力金刚的问题
  •    网站首页 -  网站导航 -  联系方法 -  网站地图 -  客户服务 -  相关法律 - 问答网 -  广告服务 -  帮助中心