I use the Struts2 framework for webapp development. In every tutorial I encounter, I see that all namespaces start with a forward slash /. Even the basic "default" namespace has the namespace "/" instead of the empty string "" or the string "default". Why is that? Is it possible to just name the namespace without the slash?
It looks like it can't, because I get error that actions can no longer be found if I change the namespace from "/" to "something else":
Struts Problem Report
Struts has detected an unhandled exception:
Messages: There is no Action mapped for namespace [/] and action name [] associated with context path [/TestStruts].