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.
次のコードを使用して、jsp で以前の URL を取得していました。
String Str = new String(request.getHeader("Referer")); out.println("Str:"+Str);
Strurlをクリックしている間を除いて、毎回正しいを返しますbrowser back button。なぜこうなった?または、今回は以前の URL を取得するにはどうすればよいですか?
Str
url
browser back button