I just started to play with Glassfish. After installation, I noticed there is a virtual server which name is "server". I created another virtual server server2. After I uploaded a hello.war file, I found that hello app could be accessed from both http://server1/hello and http://server2/hello.
How can I restricted the hello application to a particular virtual server? In my case, I wish http://server1/hello should NOT work and http://server2/hello should work.
Thanks,
Kevin
[Message sent by forum member 'zhangyongjiang' (zhangyongjiang)]