Re: Christmas Riddle

2009-01-15 Thread Dirk Forchel
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

Re: Christmas Riddle

2008-12-21 Thread Dirk Forchel
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

Re: Christmas Riddle

2008-12-20 Thread Nils-Helge Garli Hegvik
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

Re: Christmas Riddle

2008-12-19 Thread Musachy Barroso
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.

Re: Christmas Riddle

2008-12-19 Thread Dirk Forchel
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

Re: Christmas Riddle

2008-12-19 Thread Nils-Helge Garli Hegvik
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

Re: Christmas Riddle

2008-12-19 Thread Dirk Forchel
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

Re: Christmas Riddle

2008-12-19 Thread Nils-Helge Garli Hegvik
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