<map:act type="form-validator">
<map:parameter name="descriptor" value="context://project/Validate.xml"/>
<map:parameter name="validate-set" value="my_req"/>
<!-- if success -->
<map:generate type="xsp" src=""/>
<map:redirect-to session="true" uri="main.xml"/>
</map:act>
<map:generate type="xsp" src=""/>
<map:serialize/>
</map:match>
<content>
<esql:connection>
<esql:pool>project</esql:pool>
<esql:execute-query>
<esql:query>
insert into mydb (ID,Date)
</esql:query>
<esql:results/>
<esql:no-results/>
<esql:error-results>
<error>
<message><esql:get-message/></message>
<trace><esql:get-stacktrace/></trace>
<string><esql:to-string/></string>
</error>
</esql:error-results>
<esql:update-results>
<!--inserted><esql:get-update-count/></inserted-->
</esql:update-results>
</esql:execute-query>
</content>
</page>
MSN 8 with e-mail virus protection service: 2 months FREE* --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting.