Good idea, but the tag needs to look up the action for form handling etc.
It can't do that if the correct action url isn't specified in the
action-attribute.

I've tried something like action="<%=path%>Edit.do" but as a lot of people
probably would know that doesn't work either. :)

Anders,

>You might be able to do this with an onsubmit handler
>
>ie.. <html:form onsubmit="this.location.href='/Show.do'">
>
>>-----Original Message-----
>>From: Daniel Wang [mailto:[EMAIL PROTECTED]
>>Sent: Wednesday, September 17, 2003 10:29 AM
>>To: Struts Users Mailing List
>>Subject: Re: Reuse of JSP's and relative links
>>
>>
>>You can't.  :(
>>
>>>----- Original Message -----
>>>From: "Anders" <[EMAIL PROTECTED]>
>>>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>>>Sent: Wednesday, September 17, 2003 7:24 AM
>>>Subject: Re: Reuse of JSP's and relative links
>>>
>>> Ah, great! :)
>>>
>>> How can i do the same thing in the <html:form> tag? Anyone knows?
>>>
>>> Thanks,
>>> Anders,

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

Reply via email to