IntelliJ Java IDE
The moose likes JBoss and the fly likes different static files for single application hosted on two virtual hosts Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "different static files for single application hosted on two virtual hosts" Watch "different static files for single application hosted on two virtual hosts" New topic
Author

different static files for single application hosted on two virtual hosts

Mr Atish
Greenhorn

Joined: Oct 11, 2007
Posts: 3
Hi All,

I am a bit new to JBOSS. I have a requirement to have same application to be hosted on two virtual hosts. I am able to achieve this by following the steps in http://docs.jboss.org/jbossas/guides/webguide/r2/en/html/ch07.html.

Now I want that request coming from the two different hosts load two different set of static files like images etc. Due to some reason I want that there should be just one instance of the application hosted.

Can anyone suggest how I can keep these two set of static files and how I can load them separately based on the request URL keeping one single application?


Thanks
Atish
 
 
subject: different static files for single application hosted on two virtual hosts
 
Threads others viewed
New to RESIN
Loosing session and request object while doing response.sendRedirect(url)
web container on mutiple jvms
Mutiple Instances of a server
JBoss virtual host issues and multicore processor
IntelliJ Java IDE