I have made a modification below that should fix your problem. The action node has an attribute called "validate". The default value is true. Set it to false to turn validation off. Also, make another action definition for your alternate flow (form submission).
Good Luck! Struts and Tiles ROCK! Chad Westfall Software Engineer Deere & Company, Inc. <form-bean name="portfolioNameSearch" type="org.apache.struts.validator.DynaValidatorForm"> <form-property name="nametype" type="java.lang.String"/> <form-property name="surname" type="java.lang.String"/> <form-property name="firstname" type="java.lang.String"/> <form-property name="dob" type="java.lang.String"/> <form-property name="postcode" type="java.lang.String"/> </form-bean> <action path="/portfolio/namesearch" type="au.com.zurich.adviser.portfolio.action.NameSearch" name="portfolioNameSearch" scope="session" validate="false" input="nameSearch"> <forward name="success" path="nameSearch"/> </action> <action path="/portfolio/namesearchSubmit" type="au.com.zurich.adviser.portfolio.action.NameSearch" name="portfolioNameSearch" scope="session" input="nameSearch"> <forward name="success" path="nameSearch"/> </action> -----Original Message----- From: Paul Caruana [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 10:47 PM To: [EMAIL PROTECTED] Subject: [MVC-Programmers] Struts and Tiles We are currently investigating using both Struts and Tiles. The struts-config is as follows: <form-bean name="portfolioNameSearch" type="org.apache.struts.validator.DynaValidatorForm"> <form-property name="nametype" type="java.lang.String"/> <form-property name="surname" type="java.lang.String"/> <form-property name="firstname" type="java.lang.String"/> <form-property name="dob" type="java.lang.String"/> <form-property name="postcode" type="java.lang.String"/> </form-bean> <action path="/portfolio/namesearch" type="au.com.zurich.adviser.portfolio.action.NameSearch" name="portfolioNameSearch" scope="session" input="nameSearch"> <forward name="success" path="nameSearch"/> </action> where nameSearch is a tiles definition If we call the URL host/app/portfolio/namesearch.do the form (generated by tiles) is validated initially (which we don't want). If we were to use JSP instead of tiles this can be avoided by initially calling the jsp directly. It is possible to use host/app/portfolio/namesearch.do without validating initially. Any thoughts, thanx in advance..Paul _______________________________________________ MVC-Programmers mailing list [EMAIL PROTECTED] http://www.netbean.net/mailman/listinfo/mvc-programmers