-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi all,
is there any possibiliy to manipulate the URL of the Browser?
An example:
User calls index.zul?myParameter=xyz
And i want to remove the "myParameter" through server code.
Regards,
Jonas
@Jon
Hi Jon, you can use (HttpServletRequest) Executions.getCurrent().getNativeRequest() to get a HttpServletRequest in your filter,
and use it as the javax.servlet.http.HttpServletRequest.
HttpServletRequest.getRequestURL maybe the function you need (or you can try some other methods).
/Joy
Asked: 2009-12-16 02:21:52 +0800
Seen: 311 times
Last updated: Dec 16 '09