Try javascript:void(0) or submit the page from a javascript function and do
"return 0" at the end of the method.


----- Original Message ----- 
From: "Jaakko Rytinki" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, April 23, 2004 9:01 AM
Subject: problems with onclick=submit()


> Anyone else had problems with <a href="#" onclick="submit()"?
> Im using tiles and the problem is that when I click a link to submit
> a form, the link throws me to /myApp/layouts/myLayout.jsp# if I use
> <a href="#, plain <a href="" throws me to /myapp/layouts
>
> --> Error page 500, because such paths are not visible and/or usable
> for normal user
>
>
>
>
>
> ---------------------------------------------------------------------
> 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