Thanks ,
Both work fine.
but Using-normal-form way needs a little change of the action attribute URL of form tag inJSP.
I had to change
from <html:form action="/currenttime">
to <form action="testAPP/currenttime.do">
testAPP is root of this webapp
So, I choose the Using-dummy-actionform way for resemblance with other JSPs.


Thank you again.

At 17:18 04/02/04 -0800, you wrote:
You can also declare a dummy form.

- Hubert

--- Srinivas Kusunam <[EMAIL PROTECTED]> wrote:
>
> If there is no ActionForm <html:form> doesn't work. Try with normal <form>
> tag it works fine.
> Srini
>
>
> >>> [EMAIL PROTECTED] 02/04/04 07:00PM >>>
>
>   Hi ,all
>
>   I am new to Struts and learning it.
>
>   And I am wondering how the strtus-config.xml and JSP look like when
>   a  JSP doesn't submit any info( dont need ActionForm) .
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to