My webapp using tomcat5.5 + struts I create a new form bean in the struts-config.xml as following:
<form-bean name="surveyForm" type="org.apache.struts.validator.DynaValidatorForm"> <form-property name="emailAddr" type="java.lang.String"/> <form-property name="senderName" type="java.lang.String"/> <form-property name="content" type="java.lang.String"/> </form-bean> ... <action path="/SendSurvey" type="test.struts.action.SurveyAction" input="/jsp/survey.jsp" name="surveyForm"> <forward name="ok" path="/jsp/doneSurvey.jsp"/> </action> and do the deployment to the tomcat by 1. remove the war package 2. and put the new war package. It works fine .. but then when I add another form variable to surveyForm as following: <form-bean name="surveyForm" type="org.apache.struts.validator.DynaValidatorForm"> <form-property name="emailAddr" type="java.lang.String"/> <form-property name="senderName" type="java.lang.String"/> <form-property name="content" type="java.lang.String"/> <form-property name="type" type="java.lang.String"/> </form-bean> and do the deployment again by restarting tomcat. I got an error that said "type" is not a form variable. I don't know why the tomcat still reading the old struts-config.xml . --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]