The Functions.java code is effectively what I have in my JSP. That's actually
reassuring. Perhaps I am doing the right thing :-)
Ealden Escañan wrote:
>
> On Nov 9, 2007 8:39 PM, Rob Staveley (Tom) <[EMAIL PROTECTED]> wrote:
>>
>> I was after a redirect, but having said that would you be able t
On Nov 9, 2007 8:39 PM, Rob Staveley (Tom) <[EMAIL PROTECTED]> wrote:
>
> I was after a redirect, but having said that would you be able to access the
> value stack using OGNL in combination with ?
>
> My challenge is getting a page to redirect to a URL, which the action
> determines. It is variab
I was after a redirect, but having said that would you be able to access the
value stack using OGNL in combination with ?
My challenge is getting a page to redirect to a URL, which the action
determines. It is variable. My trick worked, but it looks ugly and I'd like
to "do the right thing", if
On Nov 9, 2007 7:55 PM, Rob Staveley (Tom) <[EMAIL PROTECTED]> wrote:
>
> I wasn't comfortable pulling in JSTL tags to do this (at any rate I couldn't
> seem to reference the JSTL core, when I tried in my project), so I did the
> following:
There's - it doesn't redirect, but maybe it's good
enoug
I wasn't comfortable pulling in JSTL tags to do this (at any rate I couldn't
seem to reference the JSTL core, when I tried in my project), so I did the
following:
<%
response.sendRedirect((String)com.opensymphony.xwork2.ActionContext.getContext().getValueStack().findValue("url"));
%>
...where th
This guy has some useful info as well.
http://www.vitarara.org/cms/struts_2_cookbook/post_and_redirect
Ron
- Original Message
From: Matt Raible <[EMAIL PROTECTED]>
To: users@appfuse.dev.java.net
Sent: Monday, October 29, 2007 3:39:46 PM
Subject: Re: [appfuse-user] simple redir
You could use the same thing we use in index.jsp:
Matt
On 10/29/07, kla <[EMAIL PROTECTED]> wrote:
>
> I'm assuming there's an easy equivalent for Struts2 but I can't figure it
> out. I need to immediately redirect the user to my 'list' action when they
> go to the index.jsp page. Is there an
I'm assuming there's an easy equivalent for Struts2 but I can't figure it
out. I need to immediately redirect the user to my 'list' action when they
go to the index.jsp page. Is there an equivalent for the html tag's
redirect in Struts2? I thought maybe would do it but it doesn't
seem to work.