You definitely can use multiple packages with same namespace. Just remember 
packages cannot have same names. You also need to include them all in your main 
struts.xml like:

<include file="path to your config files"/> 


Reference: 
https://stackoverflow.com/questions/6545324/struts2-same-namespaces-in-different-struts-xml-files

rick Degrande <[email protected]> نوشت:

>
>struts.xml
>  <package name="one" namespace="/myspace" ...
>    action config ...
>  </package>
>   <include file="struts/two.xml"/>
>  
>end struts.xml
>
>
>two.xml
>
>   <package name="two"  namespace="/myspace" ...
>     action config...
>   </package>
>end
>
>having it add all new configuration to the myspace namespace ??
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>

Reply via email to