框架整合
你的饭团团
这个作者很懒,什么都没留下…
展开
-
java.lang.NullPointerException
遇到了空指针异常的情况,首先检查了第一行,方法名和路径都没有出问题:路径:方法名:查到了网上一些可能出空指针异常的情况:·字符串变量未初始化;·接口类型的对象没有用具体的类初始化;于是发现在利用模型驱动引入对象的时候,没有对对象进行实例化。改成Private Product product = new Product(); 即可成功...原创 2019-08-14 12:25:43 · 125 阅读 · 0 评论 -
There is no Action mapped for namespace [/] and action name [user_registPage] associated with contex
There is no Action mapped for namespace [/] and action name [user_registPage] associated with context path [/shop].最近做的一个spring整合Struts框架的项目,产生了一个报错,从报错描述上来看应该就是Action路径的原因,因此做个总结。(1)Struts配置的Actio...原创 2019-08-11 10:03:57 · 1172 阅读 · 1 评论