OK... here's the scenario.
I'm developing a
JSF application running under
JBoss, and I�d like to have two .WARs sitting in a sever in JBoss (we�ll call it �foo� for originality�s sake), the first one would be exploded for conveniently working with static content (css/images/javascript/etc.), the second one would be archived containing the dynamic content (JSPs and the like), sort of like the following:
\jboss\server\foo\deploy\static.war
\jboss\server\foo\deploy\dynamic.war
�and I�d like to be able to pull the static content from pages in the dynamic war. For some reason, however, it�s not working the way I expected, and images/css are not being found. After pulling out the static content, the JSF application works, but of course it looks atrocious since it seems not to be able to locate the static content.
So is there some configuration that has to be performed with the server to get it to point to content in the other WAR, and do my URLs that point to images/css/javascript have to be formed in a special way for the server to serve up the items?
I know next-to-nothing about configuring jboss/tomcat/apache, but I figure there must be some way to get this to work.
Any information you can supply to help me in the right direction will be greatly appreciated.
Thanks in Advance!