Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2007-09-18 19:50:52 -0400
committerChris Goldthorpe2007-09-18 19:50:52 -0400
commitd2339e3b10d791c8f55c35c02b9517b3c5aa80da (patch)
tree0017d1a51febd3f63d5acd16466a485be3773e3b
parent5fc81f08b2431c2af7df9794eff86f178d0a9d57 (diff)
downloadeclipse.platform.ua-d2339e3b10d791c8f55c35c02b9517b3c5aa80da.tar.gz
eclipse.platform.ua-d2339e3b10d791c8f55c35c02b9517b3c5aa80da.tar.xz
eclipse.platform.ua-d2339e3b10d791c8f55c35c02b9517b3c5aa80da.zip
Stopped setting 404 status when an error page is presented because some custom pages would not display unless the status was OK.v20070918B
-rw-r--r--org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/servlet/EclipseConnector.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/servlet/EclipseConnector.java b/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/servlet/EclipseConnector.java
index d8ad02548..ee4dda080 100644
--- a/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/servlet/EclipseConnector.java
+++ b/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/servlet/EclipseConnector.java
@@ -117,6 +117,7 @@ public class EclipseConnector {
is = con.getInputStream();
} catch (IOException ioe2) {
// Cannot open error page
+ resp.setStatus(HttpServletResponse.SC_NOT_FOUND);
return;
}
} else {

Back to the top