Go to the folder:
XXXX\Business Objects\Tomcat55\webapps\InfoViewAppActions
Create a page named httperror_400.htm and put the following code in it:
"
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<title>Missing Page</title>
</head>
<script type="text/javascript">
function fixUrl(strToReplace){
urlStr = window.document.location.toString();
return urlStr.replace(strToReplace,"");
}
// Comment out the following line with the double slash (//) to debug
window.location=fixUrl("/InfoViewAppActions");
</script>
<body>
<script type="text/javascript">
urlStr = window.document.location.toString();
urlStrNew = fixUrl("/InfoViewAppActions");
document.writeln("Before:<br/>");
document.writeln(urlStr);
document.writeln("<p>");
document.writeln("After:<br/>");
document.write("<a href='" + urlStrNew + "'>");
document.write(urlStrNew);
document.writeln("</a>");
</script>
</body>
</html>
"
Save and close your document. Now go to the folder:
XXXX\Business Objects\Tomcat55\webapps\InfoViewAppActions\WEB-INF\
Open the web.xml file. Search for where error-code 404 is catched and add the following code:
<error-code>400</error-code>
<location>/httperror_400.htm</location>
</error-page>
more information can be found at:
http://www.forumtopics.com/busobj/viewtopic.php?t=170250&postdays=0&postorder=asc&start=43
Tweet
No comments:
Post a Comment