jsp - Change welcome page on Java EE application during maintenance -


i need show message users : "the application down 2 hours". until rename index.htm, login.jsp , uploaded index.html message. upload html page pointing renamed login.jsp let me in. there other way that, more simple?

my application server sunone 6.1

web application contains file named web.xml called deployment descriptor.

it contains below tag default executed.

<welcome-file-list>         <welcome-file>index.html</welcome-file>         <welcome-file>index.htm</welcome-file>         <welcome-file>index.jsp</welcome-file>         <welcome-file>default.html</welcome-file>         <welcome-file>default.htm</welcome-file>         <welcome-file>default.jsp</welcome-file> </welcome-file-list> 

you can change default wel-come file list maintenance hours , restart web server.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -