This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hello, I have a simple JBOSS war application, ie. a war file which is a web application. I want to be able to create simple html files inside the WAR file. But i want the files to be accessible from a browser. So that we can say,
You only would need to store file files under the web root folder for them to be available to a browser. I wouldn't worry too much about how JBoss deploys the files.... Just make your directory structure match the J2EE spec and you're going to be fine. In other words, if your web root is myapp, then inside your war file, you would have myapp/blah.html, and it would be reachable on http://localhost:8080/myapp/blah.html