> It works fine and it's not a 'true' mix of server-side scripting. I > could avoid the use of the <html:rewrite >
Considering that you passed the "action" to be re-written to a JavaScript function, yeah it's a true mix. :) > but didn't want to hardcode > the context name. I could do away with that tag and just have... > > newAction = '/myContext/'+action+'.do'; > > but I don't like that as much. Actuallly come to think of it I'll > probably change the above to the following. Much better actually.. > > newAction = '${pageContext.request.contextPath}/'+action+'.do'; What about cookies? I'm not trying to be a jerk (that's a difficult task for me, btw), but I'd like to point out that this logic exists within the Struts framework, and replicating it in JavaScript would be, well, replicating it... I'm keen to this dispatch idea. - Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]