When I set a context-root
in weblogic.xml
for my application, what is the default namespace for package in Struts 2?
ex: I set
<context-root>/home/app/exec</context-root>
and I access my app with the following URI:
localhost:8081/home/app/exec/index.html
insted of
localhost:8081/NameOfMyApp/index.html
In the other hand I Know that in Struts2 action namespace map to folder structure. Example on the following link: Struts 2 Namespace configuration example and explanation.
What is the correct namespace for the situation in case that ServletContext
is not the name of my app but is the context-root
?