IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only

Redirect invalid url to specific error-page

  • 1.  Redirect invalid url to specific error-page

    Posted 01/08/13 07:32 AM

    Hi, all

    is there a way redirect invalid url request to error-page

    ex) [URL]http://localhost:5555/a[/URL] → it shows object not found
    ==> I want to redirect it to custom error.html

    I tried, changing IS_HOME/web/conf/web.xml and place error.html in Default, WmRoot, WmTomcat package’s pub dir

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

    but it doesn’t work

    if you have any experience about it, please let me know.

    Regards
    namhoon.


    #webMethods
    #webMethods-Archive
    #Integration-Server-and-ESB