So how does one get the final HTML from two Actions into the same page?
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: [EMAIL PROTECTED]
[EMAIL PROTECTED]
At 2:15 PM -0700 2/8/05, Eric Lemle wrote:
So how does one get the final HTML from two Actions into the same page?
I am pretty sure that Tiles will do includes instead of forwards
where necessary so that you can use actions as the source of
tiles:insert components. I've never had to use it, but
I imagine it'll take some refactoring to get what you want. Assuming that
/EventsAction.do?dispatch=display and /RelocationAction.do?dispatch=display
eventually forward to JSPs that generate HTML fragments, you'll probably want
your main page to end up like:
tabletrtd
%@ include
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?
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
5 matches
Mail list logo