You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Eric Lemle <er...@ihc.com> on 2005/02/03 23:33:38 UTC
I have a jsp. that has two included jsp's that are actually
struts actions but the response only ret
I have a jsp. that has two included jsp's that are actually struts
actions but the response only returns the first one.
I have tried flush="false" (Doesn't matter)
I have tried the <jsp:param's for the parameters (Doesn't matter)
Is there something in the framework that is preventing this?
<table><tr><td>
<jsp:include page="/EventsAction.do?dispatch=display" flush="true" />
</td></tr></table>
<table><tr><td>
<jsp:include page="/RelocationAction.do?dispatch=display" flush="true"
/>
</td></tr></table>
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Utah 84111
United States of America (USA)
(801) 442-3688 -- e-mail: Eric.Lemle@IHC.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: I have a jsp. that has two included jsp's that are actually struts
actions but the response only ret
Posted by Kris Schneider <kr...@dotech.com>.
Sort of. Remember, the "normal" result of a Struts action is the equivalent
of RequestDispatcher.forward(). So, I imagine you're also seeing an
IllegalStateException as well. You've got the equivalent of the following:
includer.jsp:
-------------
<@% page contentType="text/plain" %>
Before forwarder1:
<jsp:include page="forwarder1.jsp"/>
After forwarder1:
Before forwarder2:
<jsp:include page="forwarder2.jsp"/>
After forwarder2:
forwarder1.jsp:
---------------
<jsp:forward page="content1.jsp"/>
forwarder2.jsp:
---------------
<jsp:forward page="content2.jsp"/>
content1.jsp:
-------------
content1.jsp
content2.jsp:
-------------
content2.jsp
Which should generate:
content1.jsp
Along with raising an IllegalStateException.
Eric Lemle wrote:
> I have a jsp. that has two included jsp's that are actually struts
> actions but the response only returns the first one.
> I have tried flush="false" (Doesn't matter)
> I have tried the <jsp:param's for the parameters (Doesn't matter)
> Is there something in the framework that is preventing this?
>
>
> <table><tr><td>
> <jsp:include page="/EventsAction.do?dispatch=display" flush="true" />
> </td></tr></table>
>
> <table><tr><td>
> <jsp:include page="/RelocationAction.do?dispatch=display" flush="true"
> />
> </td></tr></table>
>
>
> Eric D. Lemle
> Senior Programmer / Analyst
> Intermountain Health Care
> 36 South State Street, Suite 1100
> Salt Lake City, Utah 84111
> United States of America (USA)
> (801) 442-3688 -- e-mail: Eric.Lemle@IHC.com
--
Kris Schneider <ma...@dotech.com>
D.O.Tech <http://www.dotech.com/>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org