struts2_namespace
struts.xml配置文件中,<package>标签有个 namespace属性,不写就默认namespace="",如果写就一定以 / 开头,如namespace="/user",
访问的时候,就需要加上/user,如http://xxxx/sturts2/user/index.action
如果不写,访问时,工程名与index之间可以是任何路径,http://xxxx/sturts2/index.action 或者http://xxxx/sturts2/aaa/index.action都可以,
可以用来处理所有namespace都找不到的action。
                    
                
                
            
        
浙公网安备 33010602011771号