<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0" xmlns:jf="http://www.jivesoftware.com/xmlns/jiveforums/rss">



<channel>
    <title>Support Forums: Message List - Best way to handle 404 - page not found error in a jsp.</title>
    <link>http://www.theserverside.com</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    
        <generator>Jive Forums Silver 5.5.30 (www.jivesoftware.com)</generator>
    
    <pubDate>Sun, 26 May 2013 00:28:32 -0400</pubDate>


    <item>

        <title>404 Exception handling</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=29287</link>

        

        
            <description><![CDATA[<p>hi ,</p>
<p>but&nbsp;it wont be possible to say the client to adjust with internet tools option. Is there any&nbsp;other way apart from .htaccess&nbsp;</p>]]></description>
        

        <pubDate>Wed, 20 Jun 2012 01:35:30 -0400</pubDate>

        

        <jf:creationDate>Wed, 20 Jun 2012 01:35:30 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 20 Jun 2012 01:35:30 -0400</jf:modificationDate>
        <jf:date>Jun 20, 2012</jf:date>
        <jf:author>rohit kumar</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Try a filter</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=29287</link>

        

        
            <description><![CDATA[<p>Hi Morten,</p>...]]></description>
        

        <pubDate>Tue, 25 Oct 2011 14:30:38 -0400</pubDate>

        

        <jf:creationDate>Tue, 25 Oct 2011 14:30:38 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 25 Oct 2011 14:30:38 -0400</jf:modificationDate>
        <jf:date>Oct 25, 2011</jf:date>
        <jf:author>johnny english</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: Try a filter</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=29287</link>

        

        
            <description><![CDATA[thanks for the solution!!!!]]></description>
        

        <pubDate>Thu, 04 Jun 2009 06:03:30 -0400</pubDate>

        

        <jf:creationDate>Thu, 04 Jun 2009 06:03:30 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 04 Jun 2009 06:03:30 -0400</jf:modificationDate>
        <jf:date>Jun 4, 2009</jf:date>
        <jf:author>TH LIN</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>re: page not found 404 internet explorer</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=29287</link>

        

        
            <description><![CDATA[You need a 5KB+ error page<br><br>from <br><a href="http://forum.java.sun.com/thread.jspa?threadID=642939&messageID=3793598" target="_blank">http://forum.java.sun.com/thread.jspa?threadID=642939&#38;messageID=3793598</a> :  <br><br>IE overrides several...]]></description>
        

        <pubDate>Thu, 09 Feb 2006 09:38:35 -0500</pubDate>

        

        <jf:creationDate>Thu, 09 Feb 2006 09:38:35 -0500</jf:creationDate>
        <jf:modificationDate>Thu, 09 Feb 2006 09:38:35 -0500</jf:modificationDate>
        <jf:date>Feb 9, 2006</jf:date>
        <jf:author>jo docx</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>RE: Question about Wrapper</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=29287</link>

        

        
            <description><![CDATA[Hi<br><br>The sendError(int sc) in ErrorAwareRequestWrapper is callede (or should be) by the webcontainer, when it &quot;discovers&quot; that there are no mappings (or static content) to a given web-resource.<br><br>The filter is mappede to recive all...]]></description>
        

        <pubDate>Fri, 10 Jun 2005 18:26:28 -0400</pubDate>

        

        <jf:creationDate>Fri, 10 Jun 2005 18:26:28 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 10 Jun 2005 18:26:28 -0400</jf:modificationDate>
        <jf:date>Jun 10, 2005</jf:date>
        <jf:author>Morten Frederiksen</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Question about Wrapper</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=29287</link>

        

        
            <description><![CDATA[Hi,<br>When is your sendError(int sc) called ? <br>And how/where can you determine the status code ?]]></description>
        

        <pubDate>Fri, 27 May 2005 05:11:17 -0400</pubDate>

        

        <jf:creationDate>Fri, 27 May 2005 05:11:17 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 27 May 2005 05:11:17 -0400</jf:modificationDate>
        <jf:date>May 27, 2005</jf:date>
        <jf:author>Kurt Boets</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Forgot something</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=29287</link>

        

        
            <description><![CDATA[Your errorpage (in my example: 404.jsp) must have this:<br><br>&lt;%@ page language=&quot;java&quot; isErrorPage=&quot;true&quot; %&gt;<br><br><br>--Morten]]></description>
        

        <pubDate>Sat, 09 Apr 2005 12:14:47 -0400</pubDate>

        

        <jf:creationDate>Sat, 09 Apr 2005 12:14:47 -0400</jf:creationDate>
        <jf:modificationDate>Sat, 09 Apr 2005 12:14:47 -0400</jf:modificationDate>
        <jf:date>Apr 9, 2005</jf:date>
        <jf:author>Morten Frederiksen</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>Try a filter</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=29287</link>

        

        
            <description><![CDATA[You cannot get around the fact that ie default shows its own error page, when the response contains a error code.<br><br>But as a workarround you can create a filter like this:<br><br>public class ErrorHandlerFilter implements Filter...]]></description>
        

        <pubDate>Sat, 09 Apr 2005 12:02:38 -0400</pubDate>

        

        <jf:creationDate>Sat, 09 Apr 2005 12:02:38 -0400</jf:creationDate>
        <jf:modificationDate>Sat, 09 Apr 2005 12:02:38 -0400</jf:modificationDate>
        <jf:date>Apr 9, 2005</jf:date>
        <jf:author>Morten Frederiksen</jf:author>
        <jf:replyCount>5</jf:replyCount>
    </item>


    <item>

        <title>Thanks Sunbalan.....</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=29287</link>

        

        
            <description><![CDATA[It really worked for me....<br><br>-Bhuvana Sundaramoorthy]]></description>
        

        <pubDate>Thu, 27 Jan 2005 12:00:26 -0500</pubDate>

        

        <jf:creationDate>Thu, 27 Jan 2005 12:00:26 -0500</jf:creationDate>
        <jf:modificationDate>Thu, 27 Jan 2005 12:00:26 -0500</jf:modificationDate>
        <jf:date>Jan 27, 2005</jf:date>
        <jf:author>Bhuvana Muruganandam</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>404 Exception handling</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=29287</link>

        

        
            <description><![CDATA[hi subalan <br><br>thanks yaar your tip is working it was due to the Explorer . <br><br>thanks for the help.<br>Amit Sharma]]></description>
        

        <pubDate>Wed, 13 Oct 2004 02:27:21 -0400</pubDate>

        

        <jf:creationDate>Wed, 13 Oct 2004 02:27:21 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 13 Oct 2004 02:27:21 -0400</jf:modificationDate>
        <jf:date>Oct 13, 2004</jf:date>
        <jf:author>Amit Sharma</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>404 Exception handling</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=29287</link>

        

        
            <description><![CDATA[Hi Subalan,<br><br>The thing that you suggest to show the custom 404 error page are not give desired result for my application. Is there any way that I can configure this custom error page on my server(Tomcat) so that it gives the desired...]]></description>
        

        <pubDate>Wed, 13 Oct 2004 02:15:26 -0400</pubDate>

        

        <jf:creationDate>Wed, 13 Oct 2004 02:15:26 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 13 Oct 2004 02:15:26 -0400</jf:modificationDate>
        <jf:date>Oct 13, 2004</jf:date>
        <jf:author>Amit Sharma</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>404 Exception handling</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=29287</link>

        

        
            <description><![CDATA[Its possible that from the Microsoft Internet Explorer, you may not be able to see some of the customized error pages that are configured in web.xml. Instead you will see 'Page Not Found' - 404 error. To rectify this problem, from the browser's 'Tools'...]]></description>
        

        <pubDate>Wed, 13 Oct 2004 01:12:46 -0400</pubDate>

        

        <jf:creationDate>Wed, 13 Oct 2004 01:12:46 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 13 Oct 2004 01:12:46 -0400</jf:modificationDate>
        <jf:date>Oct 13, 2004</jf:date>
        <jf:author>BALAKRISHNAN SUNDARAMOORTHY</jf:author>
        <jf:replyCount>5</jf:replyCount>
    </item>


    <item>

        <title>HTTPErrorTrapping</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=29287</link>

        

        
            <description><![CDATA[Hi Amit,<br><br>Alternatively, you can specify an HTTP error code in the &lt;exception-type&gt; element<br><br>Handling HTTP error codes in...]]></description>
        

        <pubDate>Mon, 11 Oct 2004 23:01:42 -0400</pubDate>

        

        <jf:creationDate>Mon, 11 Oct 2004 23:01:42 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 11 Oct 2004 23:01:42 -0400</jf:modificationDate>
        <jf:date>Oct 11, 2004</jf:date>
        <jf:author>BALAKRISHNAN SUNDARAMOORTHY</jf:author>
        <jf:replyCount>6</jf:replyCount>
    </item>


    <item>

        <title>Use a &amp;lt;error-page&amp;gt; element in your web.xml file.</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=29287</link>

        

        
            <description><![CDATA[Hey joe,<br><br>I have tried that but it is still not working.<br>Suppose that a Application has a form in a form.jsp with an action attribute set another action.jsp page and in errorpage attribute set to &quot;Error.jsp&quot;.<br>And then what happens...]]></description>
        

        <pubDate>Fri, 08 Oct 2004 00:17:39 -0400</pubDate>

        

        <jf:creationDate>Fri, 08 Oct 2004 00:17:39 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 08 Oct 2004 00:17:39 -0400</jf:modificationDate>
        <jf:date>Oct 8, 2004</jf:date>
        <jf:author>Amit Sharma</jf:author>
        <jf:replyCount>7</jf:replyCount>
    </item>


    <item>

        <title>Use a &amp;lt;error-page&amp;gt; element in your web.xml file.</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=29287</link>

        

        
            <description><![CDATA[Hey Amit,<br><br>In your deployment descriptor (web.xml) file, use an &lt;error-page&gt; element to define the 404 error, as...]]></description>
        

        <pubDate>Thu, 07 Oct 2004 16:08:27 -0400</pubDate>

        

        <jf:creationDate>Thu, 07 Oct 2004 16:08:27 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 07 Oct 2004 16:08:27 -0400</jf:modificationDate>
        <jf:date>Oct 7, 2004</jf:date>
        <jf:author>Joe Attardi</jf:author>
        <jf:replyCount>8</jf:replyCount>
    </item>



</channel>
</rss>

