apparently retrieveURL is a JavaScript function which passes <form|queryString> data to Ajax XMLHTTP when onRequestStateChange event happens http://today.java.net/pub/a/today/2005/10/27/sprinkle-ajax-magic-into-struts-webapp.html?page=2 M- ********************************************************************* This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you.
----- Original Message ----- From: "David Friedman" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <user@struts.apache.org> Sent: Saturday, September 23, 2006 7:43 PM Subject: RE: Get real path of an action >I don't know why your retrieve URL takes two parameters but if you save a > String from your Action into scope, you could use this: > > request.setAttribute("myURL", request.getContextPath()+ mapping.getPath() + > ".do"); > > Then get insert it into your JSP with EL like: ${requestScope.myURL} > > Regards, > David > > -----Original Message----- > From: Daniel Chacón Sánchez [mailto:[EMAIL PROTECTED] > Sent: Saturday, September 23, 2006 7:03 PM > To: Struts Users Mailing List; Martin Gainty > Subject: Re: Get real path of an action > > > Thanks, Yeap, but how can i use it on the jsp: > > retrieveURL('*(realPath)*/mostrarRegistrarPersona.do', 'PersonaForm') > > Thanks > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >