custom error page

Trying to add custom error page for content item on a site that might have been unpublished, but not sure where to put the web.xml when w/in WEM site.

<error-page>    <error-code>404</error-code>    <location>/WEB-INF/errors/404.jsp</location></error-page><error-page>    <error-code>500</error-code>    <location>/WEB-INF/errors/500.jsp</location></error-page>

Comments

  •  

    To do this, there are many things that come into play, depending on customization/configuration you may have done for your content delivery application (sites.war).

     

    But you should definitely have the values below as well in web.xml of sites.war.  But you may need other changes depending on your version and CDA setup.

     

     

    Best Regards

     

    Qutub

     

    From: eLink Entry: Discussion Group - Web Experience Management <v7webcontentmanagement@elinkkc.opentext.com>
    Sent: Friday, March 15, 2019 5:18 PM
    To: eLink Recipient <devnull@elinkkc.opentext.com>
    Subject: custom error page

     

    custom error page

     

    Posted bylauren.quintanilla@wellsfargo.com (Quintanilla, Lauren) On 03/15/2019 05:16 PM

     

     

    Trying to add custom error page for content item on a site that might have been unpublished, but not sure where to put the web.xml when w/in WEM site.

     
     
     
    <error-page>
        <error-code>404</error-code>
        <location>/WEB-INF/errors/404.jsp</location>
    </error-page>
     
    <error-page>
        <error-code>500</error-code>
        <location>/WEB-INF/errors/500.jsp</location>
    </error-page>

    [To post a comment, use the normal reply function]

    Forum:

    Discussion Group - Web Experience Management

    Content Server:

    My Support