Is there a way to get tomcat running on JBOSS to dole out static html pages (I can only do this so far by sticking them in a web app's war file). I'm thinking of something similar to the use of the htdocs directory in tomcat running without JBOSS.
Cheers, SB
B Wiley Snyder
Ranch Hand
Joined: Nov 26, 2003
Posts: 50
posted
0
If you just want static html pages use apache2 web server. You can run static html in tomcat just fine but you don't need jboss, just tomcat.
Stanley Beamish
Greenhorn
Joined: Mar 24, 2004
Posts: 9
posted
0
Um - and if I want Jboss services *and* static html pages?
Stanley Beamish
Greenhorn
Joined: Mar 24, 2004
Posts: 9
posted
0
... in case I didn't explain myself - I have a J2EE app, and one of the components of the app creates an RSS feed and I want to stick it somewhere in the server so that it can be picked up by a reader (such as NewzCrawler). So ideally, I need an app server (JBOSS) and the ability to create static html pages (although in this case it's an XML file).
Thanks for your patience. SB
Eric Schumacher
Greenhorn
Joined: Jun 02, 2004
Posts: 20
posted
0
You can create an exploded directory rather than use a war file. In the JBoss deploy directory create a folder called "somename.war" and include a basic web.xml etc. Your pages will be <server>/somename/test.htm. The thing that got me the first time is the need to use a folder name with .war. [ December 22, 2004: Message edited by: Eric Schumacher ]