If there's a page called home.jsp under the 'agent' namspace, using
<ww:url namespace="agent" action="myAction" />
would generate
WebWork (DefaultActionMapper) needs namespace to start with slash '/'
<ww:url namespace="/agent" action="myAction" />
should generate the desired url