Craig R. McClanahan wrote:
I have *no* comments in my config. Is it possible that another file is the problem? Also, I do not have 490 lines.The message is telling you exactly what's wrong. One way to cause this is to try a comment like this:
Here's my struts-config.xml, verbatim:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<form-beans>
<form-bean name="viewScheduleForm"
type="org.apache.struts.validator.DynaValidatorForm"
dynamic="true">
<form-property name="type" type="java.lang.String"/>
<form-property name="country" type="java.lang.String"/>
</form-bean>
<form-bean name="createUserForm"
type="org.apache.struts.validator.DynaValidatorForm"
dynamic="true">
<form-property name="emailAddress" type="java.lang.String"/>
<form-property name="password" type="java.lang.String"/>
</form-bean>
</form-beans>
<global-exceptions>
</global-exceptions>
<global-forwards>
<forward
name="error"
path="main.error"/>
</global-forwards>
<action-mappings>
<action path="/view/schedule"
input="viewSchedule"
name="viewScheduleForm"
scope="request"
type="com.teachandtravel.presentation.actions.ViewScheduleAction"
validate="true">
<forward name="viewSchedule" path="/schedule/schedule.jsp"/>
<forward name="success" path="main.actions.forms.schedule"/>
</action>
<action path="/user/create"
input="createUser"
name="createUserForm"
scope="request"
type="com.teachandtravel.presentation.actions.CreateUserAction">
<forward name="createUser" path="main.actions.forms.user.create"/>
<forward name="success" path="createUser"/>
</action>
</action-mappings>
<controller>
<set-property property="inputForward" value="true"/>
</controller>
<message-resources parameter="resources.application"/>
<plug-in className="org.apache.struts.tiles.TilesPlugin" >
<set-property property="definitions-config"
value="/WEB-INF/tiles-defs.xml" />
<set-property property="definitions-debug" value="2" />
<set-property property="definitions-parser-details" value="0" />
<set-property property="definitions-parser-validate" value="true" />
</plug-in>
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property
property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
</plug-in>
</struts-config>
--
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103
--
To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>