> function swapAction( formName, action) { > formAction = document.getElementById( formName ).action; > newAction = '<html:rewrite page="/'+action+'.do"/>';
I don't think this will work, and I find it ironic that you literally mixed client-side and server-side scripting. Still, I see what you're going for, and I myself have written similar code. It can be tricky and it is always ugly. - Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]