nizam147 0 Newbie Poster

Hii everyone,
I have a j2ee webapplication, for which i have two database that is Training and Production.
So on the login page after entering the login credentials the user will select either Training or Production depending this the user will logon.

The new scenario now,
i want to have two different war files one training and one production.
But i want to have one main war which will have only one login page depending on the option selected ie(either training or production),
The request should go to the respective war inside my main war.

I hope i was able express that above.
Anyone came across this please let me know about this guys its very urgent

Thanks in advance