You skipped over my other questions:
> 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?
Also, you said:
> and it seems t
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?
Yes, I am able, for example, to save data from the form, as
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:
href="CadastroClienteDispatchAction.do..."
HTTP Status 400 - Invalid path /pages/CadastroClienteDispatchAction was
requested
*type* Status report
*message* _Invalid path /pages/CadastroClienteDisp
Instead of href="/CadastroClienteDispatchAction.do..."
Try one of the ff:
href="CadastroClienteDispatchAction.do..."
(relative)
href="/ExemploStruts/CadastroClienteDispatchAction.do..."
(absolute)
Hubert
On 9/27/05, Francisco - São Paulo - Brazil <[EMAIL PROTECTED]> wrote:
> Hi all,
> I
5 matches
Mail list logo