Yeah, it's fine. For posterity, I didn't look closely enough at the quoting in the statement. The JSTL equivalent would be:
function swapAction(formName, action) { formAction = document.getElementById(formName).action; newAction = '<c:url value="/'+action+'.do"/>'; document.getElementById(formName).action = newAction; } Quoting Rick Reumann <[EMAIL PROTECTED]>: > Durham David R Jr Contr 805 CSPTS/SCE wrote the following on 9/15/2004 > 2:00 PM: > > > See, that's not what I get when I run it. > > Are you sure you have that javascript snippet on a JSP with the import > of the html taglib declared correctly on the top of the page (ie <%@ > taglib prefix="html" uri="http://struts.apache.org/tags-html" %> ) ? > > > -- > Rick -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]