Solved

Redirecting HTTP 404 error to Customize page in weblogic Portal

Posted on 2003-10-22
5
4,313 Views
Last Modified: 2013-12-10
Hi,

I am trying to redirect HTTP 404 error page to customize page "Error.html", but it is not working. Can anyone help me out. Error.html is located in portal root directory.

Following is the code snippet for your reference:

Added following lines to the web.xml
  <error-page>
    <error-code>404</error-code>
    <location>Error.html</location>
  </error-page>

Thanks in advance,
Srinivas
0
Comment
Question by:cnu_a
  • 2
5 Comments
 
LVL 4

Expert Comment

by:boxy73
ID: 9669325
If your error page is located in the root directory, try using /Error.html. Maybe weblogic is looking for that page in the same folder where the page that launches the error is supposed to be.
0
 

Author Comment

by:cnu_a
ID: 9672095
Hi,
I have solved this on my own. My project requirement is to show a customized error page, when the appilcation server is down. I am using apache as webserver and I have added a error page in apache and redirecting the requests to apachee , when no reaponse from weblogic server.

Thanks,
CNU
0
 
LVL 4

Expert Comment

by:boxy73
ID: 9685041
Congratulations! Sometimes it's hard to remember you're using a different webserver apart from the app server :-)
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 11113849
PAQed, with points refunded (250)

Computer101
E-E Admin
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now