We are seeing a situation where certain namespaces/actions are getting error
"There is no action mapped for namespace ... and action ..." on the server.
  However, on our local we do not get this error. Which leads us to believe
that struts.xml might be getting lost.

Is there a way to forcefully reload the struts.xml?

I tried:

import com.opensymphony.xwork2.config.ConfigurationManager;
        ConfigurationManager config = new ConfigurationManager();
        config.reload();


But that gives error: Could not open files of the name xwork.xml - [unknown
location]

By the way, we've noticed that when we get "There is no action mapped..."
error then the action name generally has a "!" in the URL because we are
directly going a specific method in the action.

I'd appreciate if someone can tell me how to forcefully reload struts.xml.
 (Besites the struts.reload property being true in struts.xml)

Thanks

Reply via email to