struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton" <niall.pember...@blueyonder.co.uk>
Subject Re: <jsp:include page="some action" Really need help
Date Wed, 25 Feb 2004 13:40:03 GMT
OK but I think the forward is causing the problem. Looking at the request
processor you need to specify an "include" in your struts-config.xml action
mapping instead of a forward.

<action .....>
    <include="myMenu.jsp"/>
</action>

----- Original Message ----- 
From: "Tommy Holm - TELMORE" <toh@telmore.dk>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Wednesday, February 25, 2004 1:27 PM
Subject: SV: <jsp:include page="some action" Really need help


Thx for your reply but if you don't foward to a jsp page, the jsp page
never gets rendered and  nothing is inserted in the main jsp page!
Cheers

-----Oprindelig meddelelse-----
Fra: Niall Pemberton [mailto:niall.pemberton@blueyonder.co.uk]
Sendt: 25. februar 2004 14:18
Til: Struts Users Mailing List
Emne: Re: <jsp:include page="some action" Really need help


Haven't done what you're trying - but isn't the problem that at the end
of the action execute() the RequestProcessor will forward to whereever
you tell it, which is probably why everything stops after that.

What happens if you return 'null' from your execute() method instead of
an ActionForward - or are you already doing that?

Niall

----- Original Message ----- 
From: "Tommy Holm - TELMORE" <toh@telmore.dk>
To: <struts-user@jakarta.apache.org>
Sent: Wednesday, February 25, 2004 1:07 PM
Subject: <jsp:include page="some action" Really need help


Hi everyone.
I have already asked this once but didn't get any answer, I have tried
everything that I could think of but no luck, so if any of you have an
idea what to do, I would really be happy for any help.

I have a problem, I have a jsp page which should include the result of
an action call. The action should prepare the bean associated with the
action and render which then in the end should be included in the master
jsp.(The include is a menu, which the action should prepare). The
problem is that after the include, the rest of the JSP page is not
rendered. It does somehow make sense but is there anyway around this or
a common strategy to achieve this. Any help is greatly appreciated.
Cheers Kind regards Tommy

Cheers
/Tommy

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message