The blog of Jafar Aliyev

Archive

Home :: Programming :: Developer tips :: Java :: J2EE


Creation date:

IE bug with JSP

If you're going to redirect errors to your custom error page this page's size must be greater than 512 bytes.Error page is something like this:

<%@ page isErrorPage="true" import="java.io.*" %>
<html>
<head>
<title>Error page</title>
</head>
<body>
<p><%= exception.getMessage() %></p>
</body>
</html>

This page is less than 512 bytes, hense U can't use it with IE, or U must write some comments to make it larger.

Author: Jafar N.Aliyev (Jsoft)

© Copyright

All articles in this site are written by Jafar N.Aliyev. Reproducing of any article must be followed by the author name and link to the site of origin(this site). This site also keeps the same rules relative to the articles of other authors.