You can (keep them together).
This sounds highly like you have some incorrect paths somewhere in your web application and has probably nothing to do with JBoss. Are you referencing them correctly relative to the app context?
Have you deployed your web application successfully in another container or in tomcat to test it?
In any case, it's impossible to give any useful feedback unless you describe what your setup actually is...