It's magic. I reckon there was another problem or misspelling. Following your
first advice again I put the following lines in my web.xml and all works
well:
struts
/*
REQUEST
FORWARD
By default only requests are allowed but no forwards! That's it.
Nils-H
Thanks to your help, both of you. I'll figure your proposals out after
Christmas.
Nils-Helge Garli wrote:
>
> I know that it is not recommended, but since you couldn't get it
> working the other way, I figured that was the closest out of the box
> use case that could work. The proposed dispatch
I know that it is not recommended, but since you couldn't get it
working the other way, I figured that was the closest out of the box
use case that could work. The proposed dispatcher values did work for
me. At least the action was found. Got some other problems, but don't
know if it's related. Hav
all properties (that are common) are copied from the source action to
the target action.
musachy
On Fri, Dec 19, 2008 at 3:04 PM, Dirk Forchel wrote:
>
> This result type invokes an entire other action, complete with it's own
> interceptor stack and result. As you can read here
> (http://struts.
This result type invokes an entire other action, complete with it's own
interceptor stack and result. As you can read here
(http://struts.apache.org/2.x/docs/action-chaining.html), it is not
recommended. I need the dispatcher result to forward to another action with
the same interceptor stack (if
In that case, I'm out of ideas. If referrer always is an action, have
you tried using the chain result type instead? Probably needs a bit
more parsing of the action and namespace (or look it up from the
action invocation) though.
Nils-H
On Fri, Dec 19, 2008 at 11:59 AM, Dirk Forchel wrote:
>
> G
Good guess. I've added both attributes to my web.xml. But it doesn't work
either. If the context path (Tomcat server.xml) of my webapp is "" the
result is
HTTP Status 404 - /welcome.action
type Status report
message /welcome.action
description The requested resource (/welcome.action) is not avail
I think the error is in your web.xml. Try adding
REQUEST
FORWARD
in the filter mapping configuration for the struts 2 filter.
Nils-H
On Fri, Dec 19, 2008 at 10:38 AM, Dirk Forchel wrote:
>
> Here is my riddle: Why does a dispatch forward to an absolute URL-path e.g.
> "http://localhost:9001/we
8 matches
Mail list logo