struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: actions defined in a package are visible in other packages??
Date Fri, 01 Feb 2008 17:12:51 GMT
--- paulbrickell <paul.brickell@evolvedintelligence.com> wrote:
> I don't think I was clear about what I am seeing. If I have an action tag
> in my page like this...
> 
> <div>
> <s:action name="/some-namespace/myAction" executeResult="true"/>
> </div>
> 
> And a struts.xml file that defines a package with the namespace
> 'some-namespace' that contains an action called myAction I see no call to
> the target action (I am debugging and have a breakpoint in my action). I
> simply get a blank space in my output. However if I past a full url in my
> browser e.g. http://x.y.org/myApp/some-namespace/myAction.action all is
> well.

Yeah, that's a little weird. If you turn up the logging is there anything on
the console? I mean, clearly it'll work w/ the proper use of the "namespace"
attribute etc. but something on the console might be handy if it isn't
already there.

Dave


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


Mime
View raw message