I use a name space as well and it works just fine.
Here is the snippet:
<struts>
<package name="default" namespace = "/mynamespace"
extends="struts-default">
<action name="myIndex" class="myAction" method="myIndex">
<result name="success">/index.jsp</result>
etc.
When I call the action:
localhost:8080/projectname/mynamespace/myIndex.action
mhargus wrote:
>
> I'm trying to split my Struts 2 app up a bit using namespaces, but have
> run into a bit of trouble
>
> I have an action mapping that works fine without a namespace, but when I
> move that same action to another package with a namespace, the action
> returns a blank page. I'm not seeing any errors in the app server logs,
> just the blank page.
>
> Beyond setting the namespace attribute on the package, is there anything I
> need to be doing?
>
> Thanks in advance for the help.
>
> Matt
>
--
View this message in context:
http://www.nabble.com/-S2--Action-returns-blank-page-tf3765523.html#a10645353
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]