You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jeff Beal <jb...@webmedx.com> on 2004/11/05 14:09:31 UTC
Re: [****] Including a Struts action in a JSP - IllegalStateException
/ truncated response issue
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
http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf.)
-- Jeff
Parke Jeff wrote:
> I'm still having trouble including a Struts action into a JSP (<c:import
> url="/someAction.do" />).
>
> 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org