struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shyamal Shah" <shyamal_s...@hotmail.com>
Subject Re: problems with onclick=submit()
Date Fri, 23 Apr 2004 13:14:13 GMT
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" <jaakko.rytinki@emillion.fi>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message