have you tried href="javascript:void(0)"? this is an html issue - not struts.
-- Voytek Jarnot Quantum materiae materietur marmota monax si marmota monax materiam possit materiari? > -----Original Message----- > From: Jaakko Rytinki [mailto:[EMAIL PROTECTED] > Sent: Friday, April 23, 2004 8:01 AM > To: Struts Users Mailing List > 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]