Dashboard > WebWork > ... > FAQ > Why does Url tag compound my namespace
  WebWork Log In View a printable version of the current page.  
  Why does Url tag compound my namespace
Added by tm_jee, last edited by tm_jee on Nov 01, 2006
Labels: 
(None)

If there's a page called home.jsp under the 'agent' namspace, using

<ww:url namespace="agent" action="myAction" />

would generate

http://<host>:<port>/<context>/agent/agent/myAction.action

WebWork (DefaultActionMapper) needs namespace to start with slash '/'

<ww:url namespace="/agent" action="myAction" />

should generate the desired url

http://<host>:<port>/<context>/agent/myAction.action

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request - Contact Administrators