title: Can glassfish host multiple sites?
body: <p>I would like to know if it is possible to have multiple sites running on glassfish. I am about to try to setup a glassfish server where different users can auto-deploy their applications and get their own folder like this:</p>
  
  <p>localhost:8080/user1/application1<br>
  localhost:8080/user2/application2</p>
  
  <p>or something like that. I want security also so it wont be able to have logins so that the user only can get access to his own folder... Is all this or similar possible in any way in glassfish?</p>