Javaweb学习笔记(二)structs框架问题

1、在struts.xml中,有<!-- -->注释的内容,服务器后将不能正常运行,会报404错误

2、在每个类中的xml中的package报错

(The content of element type "package" must match "(result-types?,interceptors?,default-interceptor-ref?,default-action-ref?,default-class-ref?,global-results?,global-exception-mappings?,action*)".)

原因:(1)package内容写错了 (2)各个标签的顺序不对

猜你喜欢

转载自blog.csdn.net/q503385724/article/details/80166826