This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes JBOSS Tomcat static web pages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBOSS Tomcat static web pages" Watch "JBOSS Tomcat static web pages" New topic

JBOSS Tomcat static web pages

Stanley Beamish

Joined: Mar 24, 2004
Posts: 9

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.

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

Joined: Mar 24, 2004
Posts: 9
Um - and if I want Jboss services *and* static html pages?
Stanley Beamish

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.
Eric Schumacher

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 ]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: JBOSS Tomcat static web pages
Similar Threads
tomcat integrates with jboss
tomcat ejb help
why someone wants to have tomcat integrated with jboss?
JBoss Vs Apache
problem using Tomcat with Jboss