Hi Klaus,

My mistake; I was just reading about the
org.apache.struts.actions.IncludeAction on this list. It looks like you can
have an action extend this instead of a standard Action. 

Would this help in your case; it does a RequestDispatcher.include().

Jon.

-----Original Message-----
From: Klaus Thiele [mailto:[EMAIL PROTECTED]] 
Sent: 23 April 2002 10:16
To: Struts Users Mailing List
Subject: Re: response has already been committed - question/solution?

Hi Jon,

thanks for responding.

you mean  "<forward name="..." path="..." redirect="true">" in
struts-config.xml?

this does an 'sendRedirect()', not a RequestDispatcher.include() and did not
help.

thanks
  klaus

Am Dienstag, 23. April 2002 10:59 schrieben Sie:
> Hi Klaus,
>
> Struts already has a mechanism to switch between forward and include, add
> redirect="true" or redirect="false" to your actions forward.
>
> Jon.
>
> -----Original Message-----
> From: Klaus Thiele [mailto:[EMAIL PROTECTED]]
> Sent: 23 April 2002 07:59
> To: Struts Users Mailing List
> Subject: response has already been committed - question/solution?
>
> Hello,
>
> in our application was integrated a third_party portal software which
don't
> use
> frames but includes (managed by a database) dynamicly parts of our
> struts-application
> via
>      ...
>    <%jsp:include page="<%=incl%>"></jsp:include>
>      ...
> this works fine with the Orion-AppServer but not with Tomcat4/JBoss
> (Cannot forward after...)
>
> After reading the Mail-Archive and the Specs 'higgledy-piggledy' i'm
> concluding that a Struts-Appl _cannot_ be included via '<%jsp:include...'.
>
> Did i'm right? (It isn't very useful not be able to do this)
>
> Then the Light in the Dark(?):  rd.include instead of rd.forward
>
> i patched struts-1.0.2 that ActionServlet has a new init-parm "rdinclude"
> and if this set to "true" it does an rc.include otherwise rc.forward.
>
> And our Application works FINE with Tomcat4!!!
>
> But where are the 'Hooks and Eyes'?
> Is something like this already planned?,....
>
> any help/hints are very appreciated
> tia
>   klaus

-- 
--
Klaus Thiele - Personal & Informatik AG
mailto:[EMAIL PROTECTED]

 "Your mouse has moved.
  Windows must be restarted for the change to take effect."

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to