Solved

Redirecting HTTP 404 error to Customize page in weblogic Portal

Posted on 2003-10-22
5
4,424 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Weblogic server  backup 5 109
DOWNLOADING Java SE6 or later 3 147
websphere 1 95
how to use external config file with Spring MVC 4 109
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…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

773 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