struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Beal <>
Subject Re: [****] Including a Struts action in a JSP - IllegalStateException / truncated response issue
Date Fri, 05 Nov 2004 13:09:31 GMT
I think that it is unusual to directly include Struts actions in JSP 
files.  When composing pages of different parts, Tiles is the much more 
common approach.  The standard usage of Tiles is to include JSP files 
directly, but you can use tiles to include Struts actions in JSP files. 
  (See Section 5.2 of the Tiles Advanced Features guide, a PDF file, at

-- Jeff

Parke Jeff wrote:
> I'm still having trouble including a Struts action into a JSP (<c:import
> url="/" />).  
> I've tried using absolute URLs, passing the jsessionid to ensure that
> the session is not lost, but the request context is different between
> the JSP and the included action, so this not suitable for many
> situations.  I've also tried upgrading to Struts 1.2.4.  This does not
> resolve the "Response has already been committed" issue when including
> more than one Struts action in a JSP.
> The app server is using JRE 1.4.1_03-b02.  
> Can anyone tell me whether they have seen this situation before?  How
> common is it?  Is it unusual to include Struts actions in JSPs?  Anyone?
> Thanks,
> Jeff

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message