R
Reinier
Hi,
I am using a FORM authentication mechanisme with the following error
page:
<--cut-->
Integer code = (Integer)
request.getAttribute("javax.servlet.error.status_code");
String message = (String)
request.getAttribute("javax.servlet.error.message");
<--cut-->
Error code: <%= code %>
Error message: <%= message %>
<--cut-->
Everything works fine when the user is not authorised. But when the
user/password combination is not valid (code 401), I receive no
request attributes in my error page. So the output is:
Error code: null
Error message: null
According to the API I would have to get a 401 error code. I really
can't find anything on the net. Has someone an idea what can cause
this problem?
Thanks!
Reinier.
I am using a FORM authentication mechanisme with the following error
page:
<--cut-->
Integer code = (Integer)
request.getAttribute("javax.servlet.error.status_code");
String message = (String)
request.getAttribute("javax.servlet.error.message");
<--cut-->
Error code: <%= code %>
Error message: <%= message %>
<--cut-->
Everything works fine when the user is not authorised. But when the
user/password combination is not valid (code 401), I receive no
request attributes in my error page. So the output is:
Error code: null
Error message: null
According to the API I would have to get a 401 error code. I really
can't find anything on the net. Has someone an idea what can cause
this problem?
Thanks!
Reinier.