今天在学习的时候配置Struts-config.xml文件的时候,总是提示出错,但是又看不懂,是英文的,后来多试了几次,竟然让我给调试好了,于是又把提示看了一下,总算是看懂了,也就是Struts-config.xml文件配置文件中的几个标签的顺序是固定的,是不可更改的(至少在Eclipse WTP1.0中是这样提示的),正确的顺序是如下的:
<struts-config>
<display-name></display-name>
<description></description>
<data-sources></data-sources>
<form-beans></form-beans>
<global-exception></global-exception>
<global-forward></global-forward>
<action-mapping></action-mapping>
<controller></controller>
<message-resources></mesage-resources>
<plug-in></plug-in>
</struts-config>
顺序就是这个样子,是不可以更改的,这就是我今天学习到的东西