user  

Re: [S2] current URL in ValueStack?

Jeromy Evans
Sun, 13 Jul 2008 23:17:55 -0700

Pierre Thibaudeau wrote:

But your statement about EL intrigues me.  How would you do that in EL?  Is
there some value available to EL in the request context?

simply ${pageContext.request.requestURI}

The benefit of EL is that your IDE (hopefully) understands it, which in my opinion is much better than hardcoding obscure constant strings into OGNL expressions that fail silently :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]