My website is XYZ.com, and was build by struts2, everything works great.
the configuration in the struts.xml is the following
 <package name="default" extends="json-default">
  ...  </package>
but, i want to add chat feature by websocket method.
that websocket action is called ChatAction, 
My question is
1.  could i put ChatAction inside default package as above? if i do so, will 
ChatAction's websocket communcation interfere all other action call in the same 
namespace?
2. if the above answer is NO, should i do the following by creating different 
package name with different namespace
    <package name="mychat" namespace="onlinechat">
    put chataction in the different package/namepsace could solve the interfere 
b/w websocket communication and default package/namespace ?
3. if 2) is true, how i solve the session share b/w different package/namespace 
?
thanks
john           

Reply via email to