开发者

Query String How to transfer from url to url

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜