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,
What should I use to prefix bleh.html, because currently, the file is being saved to the bin directory of JBOSS. Thanks.
Joined: Mar 22, 2004
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