--- Daniel Amadei wrote:
> Unfortunately, this does not do what I want.
>
> I need to type an action in the URL and get
> redirected to the result without having to code the
> Action.
Ah. Then you don't want a "global forwards", you want
wildcard action mappings, from
http://cwiki.apache.org/WW/
Hi Dave,
Unfortunately, this does not do what I want.
I need to type an action in the URL and get redirected to the result
without having to code the Action.
Thanks,
Daniel
2007/2/7, Dave Newton <[EMAIL PROTECTED]>:
--- Daniel Amadei wrote:
> Is there a way to set up a global forward in Strut
--- Daniel Amadei wrote:
> Is there a way to set up a global forward in Struts
> 2 and set it to forward to a tiles def?
You can create global-results with any result type you
want.
http://cwiki.apache.org/WW/result-configuration.html
d.
_
On Wed, 27 Oct 2004 13:09:39 -0600, Sudip Shrestha <[EMAIL PROTECTED]> wrote:
> I am trying this simple struts application here, that uses following:
>
>
>
> and under :
>
> However, I am getting following exceptions.I could not find
> anything regarding this messag
That was the trick! All I had to do was remove the ".." and replace it
with "/" and that was it.
Thanks.
Tom
Stephen Houston wrote:
Try removing the ".." from the path in the forward. We use
with the forward parameter, however we always define the path for the
global forward
Try removing the ".." from the path in the forward. We use
with the forward parameter, however we always define the path for the
global forward as starting with a "/", e.g.
-Original Message-
From: Tom Holmes Jr. [mailto:[EMAIL PROTECTED]
Sent: 30 September 2004 00:53
To: Steph
A practical example of this is like:
there exists a home page link or any link common to all in every pages
that you navigate. Use the global forward instead of using a local
forward in such scenario.
Jitender Kumar C.V.
You don't even have to give type="xxx.xxx.xx".
Just use this syntax:
Above works well for me.
---
Reddy
> -Original Message-
> From: Mark Lowe [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, May 12, 2004 5:05 PM
> To: Struts Users Mailing List
> Subje
way
to do it? Or is the various documentation incorrect in this ability?
Thanks,
Keith
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 4:05 PM
To: Struts Users Mailing List
Subject: Re: global forward to tile definition does NOT work
Use an
I sure hope there is a nicer way around it than this... is this really what it
takes to use Tiles in this situation?
On Wednesday 12 May 2004 02:05 pm, Mark Lowe wrote:
> Use an empty action.
>
>
>
>
>
> the action just needs to return this.
> return (mapping.findForward("success"));
>
>
Use an empty action.
the action just needs to return this.
return (mapping.findForward("success"));
and you'll be there.
On 12 May 2004, at 22:58, Keith Bottner wrote:
I am trying to forward directly to a tiles definition from the
with
# struts-config.xml
My JSP page uses:
BLA
11 matches
Mail list logo