开发者

Query String How to transfer from url to url

开发者 https://www.devze.com 2023-03-10 11:35 出处:网络
I开发者_如何学C have page that is receiving a query string and I want it so that if the user is on a mobile site, it will redirect them to the mobile version of that page and move the query string wit

I开发者_如何学C have page that is receiving a query string and I want it so that if the user is on a mobile site, it will redirect them to the mobile version of that page and move the query string with it. How would I do this?

Thank is advanced.


Will request forwarding not work in this scenario?

  RequestDispatcher rd = getServletContext().getRequestDispatcher(mobileSiteUrl);

  rd.forward(req, resp);
0

精彩评论

暂无评论...
验证码 换一张
取 消