<?xml version="1.0" encoding="GBK" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<default-action-ref name="defaultAction"/>
<package name="default" namespace="/" extends="struts-default">
<action name="zhangfei" class="ZhangFeiAction">
<result name="zhangfei">zhangfei.jsp</result>
</action>
<action name="*Login" class="LoginAction" method="{1}">
<result name="success">{1}_success.jsp</result>
<result name="fail">fail.jsp</result>
<result name="register">{1}.jsp</result>
</action>
<action name="defaultAction">
<result>error.jsp</result>
</action>
</package>
</struts>
出现下面提示:
The content of element type "struts" must match "(package|include|bean|constant)*".怎么解决?
守候你守候我