struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulbrickell <>
Subject Re: actions defined in a package are visible in other packages??
Date Fri, 01 Feb 2008 16:17:02 GMT


I had seen those, but the problem I was having was that at no point in the
docs (afaik) is there an example of a URL to actually target an action in a

Through a (very tedious) process of trial and error I finally stumbled upon
a (the?) solution.

Actions like these...

<s:action name="space/do"/>
<s:action name="space/do.action"/>
<s:action name="/space/do"/>
<s:action name="/space/do.action"/>

Do not seem to work. However like this...

<s:action name="do" namespace="space"/>


Annoyingly this...

<s:action name="do.action" namespace="space"/> 

doesn't seem to work either.

And don't even get me started about using namespaced actions with the a tag.
href="/space/do" doesn't work either. Jeez, I can only think I must be
missing something.

And the final insult when the actions don't resolve properly it fails
silently and all I get is an empty browser.:-/

newton.dave wrote:
> Oops.
> --- paulbrickell <> wrote:
>> Could you post a link to the section in the docs. I just cant work this
>> out.:confused:
> Work what out?
> Packages and namespaces are discussed (at least) at [1, 2].
> Dave
> [1]
> [2]
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message