struts2学习:jsp页面中s:bean标签取不出来值

使用<s:bean>标签始终得不到Student的值,解决方案:在Student.java一定要写上不带参数的构造方法

struts.xml配置:

Demo4Action:


jsp页面:

Student类:


猜你喜欢

转载自blog.csdn.net/qq_34801169/article/details/80546499