Search code examples
websphere-libertyapplication-server

WebSphere AS default page


I'm using embedded WebSphere Application Server V8.5.5.5 in our application. It has default welcome page which looks like this:

welcome page Is there a way how to change it to my custom content?

I was looking for source files in WAS directory, searching by source code, image resource name (liberty-was-202.png) etc. with no success. I guess the page is somehow generated.

Note I'm on embedded WebSphere where I didn't find a way how to access the administration console (maybe there's some?).


Solution

  • In your server's configuration file (like server.xml) you can specify <httpDispatcher enableWelcomePage="false" /> to disable the welcome page, then just bind your application to the '/' context root.
    There's documentation here: http://www.ibm.com/support/knowledgecenter/SSEQTP_8.5.5/com.ibm.websphere.wlp.doc/ae/rwlp_config_httpDispatcher.html