需要隐藏此网址
http://localhost:8080/Gamesite/details.php?id=1
到此网址
http://localhost:8080/Gamesite/details.php
已经在.htaccess中有404重定向,如下所示:
ErrorDocument 404 http://localhost:8080/Gamesite/core/404.html
但只有在我更改url
中(?)之前的任何内容时才会重定向我得去工作
答案 0 :(得分:1)
隐藏参数我们基本上使用POST
方法隐藏,它会使用requestHeader
将数据发送到您的servlet,如果您使用表单提交数据使用属性method = "POST"