action tag namespace issue? 2007-02-06 - By Dave Newton
Back Hi,
I have the following on a JSP page:
<a href="<s:url namespace="foo" action="sidebar"/>"> Sidebar </a> <s:action namespace="foo" name="sidebar" executeResult="true"/>
Namespace "foo" is defined in a file included by struts.xml.
The link takes me to the page I was seeing if I could use as a component; s:action throws, saying "There is no Action mapped for namespace foo and action name sidebar."
Before I moved "foo" into a separate config file it lived in the default namespace, looked like:
<s:action name="foo/sidebar" executeResult="true"/>
and worked.
Life was better back then.
Anybody have any hints?
tia, Dave
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ______ __ __ Never Miss an Email Stay connected with Yahoo! Mail on your mobile. Get started! http://mobile.yahoo.com/services?promote=mail
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|