Re: Cannot call more than once!

2004-11-06 Thread Mick Wever
> > There is a simple solution. In the c:import specify an absolute URL. > I am having the same issue as you were last month. I am using OC4J (AS > 10g) and can not nor more than one Struts >action > on the same JSP. I saw that you worked around the issue by using an > absolute URL with . I

Re: Cannot call more than once!

2004-10-14 Thread Mick Wever
On Thu, 14 Oct 2004 07:17:34 -0400, Kris Schneider wrote: > It's got nothing to do with JSTL and everything to do with your Struts > action. The Struts controller effectively performs the forward with the > result of your action's execute method. Yes, can work perfectly > well when used multiple

Re: Cannot call more than once!

2004-10-14 Thread Mick Wever
> It's got nothing to do with JSTL and everything to do with your Struts > action. The Struts controller effectively performs the forward with the > result of your action's execute method. Yes, can work perfectly > well when used multiple times in a page. For URLs that are within the same > contex

Re: Cannot call more than once!

2004-10-14 Thread Kris Schneider
It's got nothing to do with JSTL and everything to do with your Struts action. The Struts controller effectively performs the forward with the result of your action's execute method. Yes, can work perfectly well when used multiple times in a page. For URLs that are within the same context (same ap

Re: Cannot call more than once!

2004-10-14 Thread Mick Wever
On Wed, 13 Oct 2004 13:59:32 -0400, Kris Schneider wrote: > I'm not sure he actually intended to do multiple forwards, it seems like > he just wanted to reuse an action to generate some common output. The > fact that Struts is performing an implicit forward in response to each > of those imports c

Re: Cannot call more than once!

2004-10-13 Thread Kris Schneider
I'm not sure he actually intended to do multiple forwards, it seems like he just wanted to reuse an action to generate some common output. The fact that Struts is performing an implicit forward in response to each of those imports can be easy to overlook. Mick, if you want a lower-level analogy, t

Re: Cannot call more than once!

2004-10-13 Thread Rick Reumann
Mick Wever wrote the following on 10/13/2004 11:53 AM: I guess this would be like doing the equivalent of trying to do a forward. On your second loop you'll have already wrote stuff out to the JSP so I don't think you could then do any forwarding. Any reason why you are trying to do fow

Cannot call more than once!

2004-10-13 Thread Mick Wever
I think I've got a very annoying "Response has already been committed" problem narrowed down... The follwing jsp code does not work for me: <%@ taglib uri="c.tld" prefix="c" %> Because during the c:import the response is committed, and when the second (or third) c:import