regiser.jsp
<!--<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="ht" %>
<ht:form action="struts.do">
UserName:<ht:text property="username"/><br>
enter password:<ht:password property="password1"/><br>
re-enter password:<ht:password property="password2"/><br>
<ht:submit value="Register"/>
</ht:form>-->
以下为配置文件:
<!--<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Struts-config PUBLIC "-//Apache Software //Foundation//DTD Struts Configuration //1.0//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">
<struts-config>
<form-beans>
<form-bean name="RegisterForm" type="com.sxf.struts.actionform.RegisterForm" />
</form-beans>
<action-mappings type="org.apache.struts.action.ActionMapping">
<action path="/struts" type="com.sxf.struts.action.register" name="RegisterForm" input="/register.jsp">
<forward name="success" path="/success.html" />
<forward name="failure" path="/failure.html" />
</action>
</action-mappings>
</struts-config>-->
这个错误到底是怎么回事啊?