I'm new to Struts; working on getting a small app running with the
Convention plugin. It seems to work perfectly well in finding the
actions I have - a little *too* well, actually. The problem is that if
I visit a url like localhost:8080/foo/bar/baz/ I get my IndexAction,
which should only work for the localhost:8080/ url. I have
@Namespace("/") on IndexAction. I checked config-browser, and "index"
is only under the "/" namespace, as it should be, but there's also an
action with no name, in both "default" and "/" namespaces.

This "blank" action maps to the IndexAction class, and obviously
(since its in default) gets called whenever there's an unknown action.
If I remove or rename the IndexAction class, I don't get the blank
action.

My struts.xml is empty, I have namespaces declared on all my classes.
What else do I need to do? Please let me know if there's anything else
I can post to help debug.

--
rwsims

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

Reply via email to