You mean the thing that starts "<html:rewrite" is actually JavaScript? Could've fooled me! ;-) Tags like <html:rewrite> and <c:url> are great for generating URLs to be used by JavaScript code that needs to interact with web apps. One of the reasons they're so useful is that they have built-in support for URL rewriting (encoding of session info). BTW, in an earlier note, Rick was thinking of changing to:
newAction = '${pageContext.request.contextPath}/'+action+'.do'; Which seems like a bad idea since it skips URL rewriting. Quoting Michael McGrady <[EMAIL PROTECTED]>: > Kris Schneider wrote: > > >I'm guessing David's getting at how to properly construct a request-time > value > >for a tag attribute. If you're using a scripting expression, everything must > be > >contained within "<%=" and "%>". If you're using an EL-enabled tag, then > you > >can do something like: "/${action}.do" (assuming "action" is a scoped > >variable). > > > > > > But this is not a tag attribute. The JavaScript is not a tag. > > Michael McGrady -- 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]