Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Redirecting HTTP 404 error to Customize page in weblogic Portal

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

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

Suggested Solutions

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
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.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

829 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