论坛首页 入门技术论坛

问一个Struts+tiles中出现的问题

浏览 5814 次
该帖已经被评为新手帖
作者 正文
   发表时间:2003-10-13  
有几个模块,用tiles组合在一起,但是struts提交中出现了错误
Cannot forward after response has been committed
请问这个是什么错误
   发表时间:2003-10-15  
feiyu 写道
有几个模块,用tiles组合在一起,但是struts提交中出现了错误
Cannot forward after response has been committed
请问这个是什么错误


You cannot forward in a servlet after you have output to the printwriter.
0 请登录后投票
   发表时间:2003-10-22  
如何解决呢?
0 请登录后投票
   发表时间:2003-10-22  
其实问题是这样的,有几个小的模块页面,每个都有自己的form,独自提交都可以成功的,将他们用tiles组合在一个大的index.jsp页面中,那些小模块页面的actionForward怎么写,并且在用tiles组合的时候我如何调用这些小的模块页面呢(我需要这些小的模块页面自动提交的,我现在是直接调用每个小模块的action.do,但是就出现了上面的错误)。
0 请登录后投票
   发表时间:2003-11-04  
具体怎么做?是否可以说得清楚一些?
0 请登录后投票
   发表时间:2006-11-28  
<action-mappings>
<action
         parameter="index-definition"
         path="/index"
         type="org.apache.struts.actions.ForwardAction" />
</action-mappings>
0 请登录后投票
   发表时间:2006-11-28  
IncludeAction貌似可以解决
0 请登录后投票
论坛首页 入门技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics