Hello Murali Krishna,

Error page can be configured in web.xml file of the component using
<error-page> tag like this

<error-page>
    <error-code>404</error-code>
    <location>/error/404.jsp</location>
</error-page>


where 404.jsp need to be stored in webapp/componentname/error directory.

The way I understand that


Apache OFBiz runs with an embedded Apache Tomcat server. ComponentContainer
loads each component and individual component can be configured in
web.xml stored in webapp folder of specific components.



Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P, India - 452010
Cell phone: +91 7415786147

<https://www.linkedin.com/in/aditya-sharma-78291810a/>
<https://www.facebook.com/divinecreatureaaditya>
<https://www.instagram.com/iamaadi7/>

HotWax Systems recently received 8 mentions in *The Gartner Digital
Commerce Vendor Guide, 2016 *by Gartner, Inc., the world's leading IT
research and advisory company. Learn more about our research here
<https://www.gartner.com/technology/media-products/newsletters/HotWax/1-2UVLP6M/index.html>
.

<http://www.hotwax.co/>

On Wed, Jun 14, 2017 at 7:34 PM, Murali Krishna <kuravi.mur...@gmail.com>
wrote:

> Hi,
> How to show customised page for 404 error in different applications like
> eCommerce, accounting ... etc and should serve with 404 status code .
>
> --
> Thanks & Regards
> K.Murali Krishna,
>

Reply via email to