IntelliJ Java IDE
The moose likes JBoss and the fly likes JBOSS Tomcat static web pages Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "JBOSS Tomcat static web pages" Watch "JBOSS Tomcat static web pages" New topic
Author

JBOSS Tomcat static web pages

Stanley Beamish
Greenhorn

Joined: Mar 24, 2004
Posts: 9
Hello,

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
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
Um - and if I want Jboss services *and* static html pages?
Stanley Beamish
Greenhorn

Joined: Mar 24, 2004
Posts: 9
... 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
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 ]
 
 
subject: JBOSS Tomcat static web pages
 
Threads others viewed
tomcat integrates with jboss
JBoss Vs Apache
problem using Tomcat with Jboss
why someone wants to have tomcat integrated with jboss?
tomcat ejb help
MyEclipse, The Clear Choice