Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我使用 sendRedirect 函数重定向时,我看到原始查询参数已添加到 URL。
我怎样才能避免它并从重定向的 URL 中删除查询参数?
我的代码是:
response.sendRedirect(ApplicationUtils.getServerConfig().homePageLink); return;