<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
<channel>
<title><![CDATA[Pugmarks Support]]></title>
<link><![CDATA[https://support.pugmarks.com/]]></link>
<description />
<generator><![CDATA[Kayako fusion v4.71.0]]></generator>
<item>
<title><![CDATA[Custom Error Pages]]></title>
<link><![CDATA[https://support.pugmarks.com/index.php?/Knowledgebase/Article/View/28]]></link>
<guid isPermaLink="false"><![CDATA[33e75ff09dd601bbe69f351039152189]]></guid>
<pubDate><![CDATA[Sat, 08 Jul 2017 07:37:43 +0530]]></pubDate>
<dc:creator />
<description><![CDATA[&lt;p&gt; You can define your own custom error pages in your &lt;b&gt;web.xml&lt;/b&gt; file. In  the example shown below, we define 2 web pages -- &lt;b&gt;server500error.html&lt;/b&gt;  and &lt;b&gt;file_not_found404.html&lt;/b&gt; -- which will be disp...]]></description>
<content:encoded><![CDATA[<p><br />&lt;p&gt; You can define your own custom error pages in your &lt;b&gt;web.xml&lt;/b&gt; file. In <br /> the example shown below, we define 2 web pages -- &lt;b&gt;server500error.html&lt;/b&gt; <br /> and &lt;b&gt;file_not_found404.html&lt;/b&gt; -- which will be displayed when the server <br /> encounters an error 500 or an error 404 respectively. &lt;/p&gt;</p>
<p>&lt;table cellspacing="1" cellpadding="4" bgcolor="#6299c5"&gt;<br />&lt;tr&gt;<br />&lt;td bgcolor="#ffffff"&gt;<br /> &lt;pre&gt;<br /> &amp;lt;error-page&amp;gt;<br /> &amp;lt;error-code&amp;gt;500&amp;lt;/error-code&amp;gt;<br /> &amp;lt;location&amp;gt;/server500error.html&amp;lt;/location&amp;gt;<br /> &amp;lt;/error-page&amp;gt;<br /> &amp;lt;error-page&amp;gt;<br /> &amp;lt;error-code&amp;gt;404&amp;lt;/error-code&amp;gt;<br /> &amp;lt;location&amp;gt;/file_not_found404.html&amp;lt;/location&amp;gt;<br /> &amp;lt;/error-page&amp;gt; <br />&lt;/pre&gt;<br />&lt;/td&gt;<br />&lt;/tr&gt;<br />&lt;/table&gt;</p>
<p><br />&lt;p&gt;<br />You should bear in mind, however, that the order of the tags for the &lt;b&gt;web.xml&lt;/b&gt; file is <br />very important. If the order in your web.xml file is incorrect, Tomcat will output errors<br />on startup.<br />&lt;/p&gt;</p>]]></content:encoded>
</item>
</channel>
</rss>