做spring和struts2整合實(shí)驗(yàn)的時(shí)候,不能訪問到action。
做spring和struts2整合實(shí)驗(yàn)的時(shí)候,出現(xiàn)提交表單后出現(xiàn)404錯(cuò)誤。不能訪問到action,之前做struts2出現(xiàn)這個(gè)問題是把struts-spring-plugin.jar刪除就可以。但現(xiàn)在做整合這個(gè)包是必須的,但還是出現(xiàn)這種錯(cuò)誤。求解決?。。。。。。。。。。。。?!
2018-12-21
web.xml里面spring配置
<!-- Spring的框架核心監(jiān)聽器配置 -->
? <context-param>
? <param-name>contextConfigLocation</param-name>
? <param-value>classpath:applicationContext.xml</param-value>
? </context-param>
? <listener>
? <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
? </listener>
2018-12-21
2018-10-15
不能訪問到action,和包沒關(guān)系吧,多半是大小寫打錯(cuò)了,
2018-09-24
404不是路徑的問題嗎,為什么要?jiǎng)h除這個(gè)包呢