A
alexnb
Hello,
Can anyone help on the follwing problem:
The serverside (e.g. a Java-Servlet) sends this HTTP-header:
"Location: http://myhost/page.jsp?param1=value1#xyz"
Mozilla,Opera reacts with the follwing GET:
GET http://myhost/page.jsp?param1=value1
_BUT_ the Internet Explorer
GET http://myhost/page.jsp?param1=value1#xyz
In case of IE this leads to:
request.getParameter("param1") == "value1#xyz"
Question 1: is it allowed to use # in Location-header?
Question 2: shouldn't the servlet engine cut the #-part of the URL
off??
Thanks,
Alex
Can anyone help on the follwing problem:
The serverside (e.g. a Java-Servlet) sends this HTTP-header:
"Location: http://myhost/page.jsp?param1=value1#xyz"
Mozilla,Opera reacts with the follwing GET:
GET http://myhost/page.jsp?param1=value1
_BUT_ the Internet Explorer
GET http://myhost/page.jsp?param1=value1#xyz
In case of IE this leads to:
request.getParameter("param1") == "value1#xyz"
Question 1: is it allowed to use # in Location-header?
Question 2: shouldn't the servlet engine cut the #-part of the URL
off??
Thanks,
Alex