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.
重定向时如何获取当前页面?如果我发送表单或服务器重定向我..
UPD webClient.getCurrentWindow().getEnclosedPage(); 完美地为我工作。谢谢大家!
默认情况下,Webclient 设置为根据服务器请求重定向页面。为什么不禁用选项 wClient.setRedirectEnabled(false);