On 9/27/05, Francisco - São Paulo - Brazil <[EMAIL PROTECTED]> wrote: > When I tryed this way: > href="CadastroClienteDispatchAction.do..." > > HTTP Status 400 - Invalid path /pages/CadastroClienteDispatchAction was > requested
This is because your JSP and your actions are in different paths. > When I tryed this way it worked: > > href="/ExemploStruts/CadastroClienteDispatchAction.do..." > > But it did not populate my form with the values in the bean Did you include the parameters you wanted to populate? <a href="/ExemploStruts//CadastroClienteDispatchAction.do?acao=editar&codigo=<bean:write name='lista' property='codigo'/>"> > and it seems > to invoke an submit imediately after loading. Isn't this a link? So when you click it, it will immediately load the resource referenced by the link. I'm not sure I understand your concern. > As it didnt populate the form with data and some fields are > validated/required the errors messages are shown. This is the expected behavior when there's a validation error. Once the issue about why you're having validation problems are solved, you shouldn't see this problem anymore. > Maybe something in here, could you have a look please? My guess is the problem lies outside your Action code, since you specify "acao=editar" in your request, "acao" is the parameter for your DispatchAction, and you have an "editar" method. Are you able to call normal Struts actions okay? Hubert --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]