【问题标题】:Query String How to transfer from url to url查询字符串如何从url转移到url
【发布时间】:2011-06-03 17:01:12
【问题描述】:

我有一个正在接收查询字符串的页面,我想要它,以便如果用户在移动网站上,它会将他们重定向到该页面的移动版本并移动查询字符串。我该怎么做?

非常感谢。

【问题讨论】:

  • 我的建议解决了您的问题吗?

标签: redirect mobile query-string


【解决方案1】:

在这种情况下请求转发是否不起作用?

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

  rd.forward(req, resp);

【讨论】:

    猜你喜欢
    • 2014-05-30
    • 2011-07-01
    • 1970-01-01
    • 2015-03-25
    • 1970-01-01
    • 1970-01-01
    • 2018-12-08
    • 2019-01-14
    相关资源
    最近更新 更多