You can try this :

<form name="myLink"
      action="<html:rewrite page="/index.jsp"/>"
      method="POST">
   <input type="hidden" name="in" value="...">
</form>

<a href="javascript:document.forms.myLink.submit()">home</a>

Notice the (not visible) HTML form will add a visual line break in
browser. You can avoid it by putting it a page bottom or in an hidden
div, or between two rows of a table.

Nico.

> <hm:link page="/index.jsp" transaction="true">
> home
> </hm:link>
>
> this obviously don't work...but there is a system to obtain this
whit a Struts
> component?
> I should pass a String value to action, but this must be not visible
in the url.
> In particular my action don't know the page that call it and for
this...
> I try to pass it as message, but this don't work..
> Any idea?
> Thanks in advance
> Alessio
>
> --------------------------------------------------------------------
-
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to