dev@glassfish.java.net

URL redirect in AS 8.2

From: <Liang-Hui.Yang_at_Sun.COM>
Date: Wed, 14 Mar 2007 13:09:36 -0700

I have a quick question on app server 8.2, am hoping someone in the
alias can help:
how to set up a maintenace page in App Server 8.2 to redirect traffic
for scheduled outages?

Is there an equivalent to what the <vs> tag in Web Server to redirect URLs:

I.e. in the web-apps.xml file in Web Server, one can add the following
entry in between the <vs></vs> tags to redirect traffic from oldApp to
newApp:

<vs>
  <web-app uri="/developer/oldApp" dir="/sw/webapps/newAppRedirect"
enable="true">
    <class-loader reload-interval="86400" />
  </web-app>
</vs>

Thanks,
Liang