码迷,mamicode.com
首页 > 其他好文 > 详细

Unable to instantiate Action, xxxAction, defined for 'showBlogDetails'

时间:2019-12-19 22:58:47      阅读:98      评论:0      收藏:0      [点我收藏+]

标签:映射关系   信息   注册   class   ant   contex   app   解决   define   

(忘了截图错误信息...)

使用SSH框架配置applicationContext.xml与struts.xml之间的映射关系

解决方案:保证applicationContext.xml中注册的bean元素的name属性名与struts.xml的action元素的class属性名一致,但我这里有点奇怪,我之前使用的blogActionBean不行,要换成blogAction才行,也许是语法限制?

Unable to instantiate Action, xxxAction, defined for 'showBlogDetails'

标签:映射关系   信息   注册   class   ant   contex   app   解决   define   

原文地址:https://www.cnblogs.com/curie/p/12070653.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!