Hi, I define in my menu.jsp page two <s:div>. On the left the menu which always appears. On the right, the part which is updated after every action.
Then I have another jsp with a form, the xml validation file and the POJO. The action definition is: <action name="CrearUsuarioAction" method="crearUsuario" class="ads.web.action.UsuarioAction"> <result name="input">/src/jsp/crear/usuarioCrear.jsp</result> <result name="error">/src/jsp/crear/usuarioCrear.jsp</result> <result name="success">/src/jsp/buscar/usuarioDatos.jsp</result> </action> My <s:submit> definition is: <s:submit theme="ajax" href="%{crearUsuario}" targets="divContenedor" value="Crear"></s:submit>, where the target divContenedor is defined in the menu.jsp 1) First issue: validation issue When I click on submit and something in the form is incorrect, all validation errors are shown and all fields are emptied, when only the incorrect parts should be shown. 2) Second issue (If I remove the validation file in order to test the action) Then I don't obtain the user info. Both issues "works fine" if I delete in the submit the targets attribute. <s:submit theme="ajax" href="%{crearUsuario}" value="Crear"></s:submit>, But then a new page is opened and the menu doesn't appear. Any help, please? Ask me for code if necessary. Thanks in advace. _________________________________________________________________ ¿Quieres los emoticonos y guiños más divertidos? Descárgate Internet Explorer 7, y consigue contenidos exclusivos cada semana. ¡Gratis! http://www.vivelive.com/IEAK7