关于通配符,该如何处理
关于通配符
struts2中 <result name="topic" type="redirect">/topicAction!findTopics.do?topicId=${topicId}</result> 哪位大神知道其中的!和?是什么意思
------解决思路----------------------
1.!符号表示启用了struts2中的namespcas属性,也就是零配置,!符号前就是类名
2.?符号是URL的重写标识
struts2中 <result name="topic" type="redirect">/topicAction!findTopics.do?topicId=${topicId}</result> 哪位大神知道其中的!和?是什么意思
------解决思路----------------------
1.!符号表示启用了struts2中的namespcas属性,也就是零配置,!符号前就是类名
2.?符号是URL的重写标识