Deploying WAR on JBOSS - II

15 June 2008

Please do read the first part of this post before going through this one.

Now create a JSP file in the work folder.

<html><head><title>Hello World</title>
<%!
String msg = "Hello World.";
%>
</head>
<body>
<h2><%= msg %></h2>
<%= new java.util.Date() %>
</body></html>

Now is the time to create deployment descriptor. The deployment descriptor is used to provide information to JBoss about our web application.

In your work folder (HelloWorld folder), create a sub folder called WEB-INF. Create a file named web.xml in it with following contents:

<web-app>
<display-name>Hello World</display-name>
</web-app>

Continued …

del.icio.us:Deploying WAR on JBOSS - II  digg:Deploying WAR on JBOSS - II  spurl:Deploying WAR on JBOSS - II  wists:Deploying WAR on JBOSS - II  simpy:Deploying WAR on JBOSS - II  newsvine:Deploying WAR on JBOSS - II  blinklist:Deploying WAR on JBOSS - II  furl:Deploying WAR on JBOSS - II  reddit:Deploying WAR on JBOSS - II  fark:Deploying WAR on JBOSS - II  blogmarks:Deploying WAR on JBOSS - II  Y!:Deploying WAR on JBOSS - II  smarking:Deploying WAR on JBOSS - II  magnolia:Deploying WAR on JBOSS - II  segnalo:Deploying WAR on JBOSS - II  gifttagging:Deploying WAR on JBOSS - II

Top Of Page | Trackback

If you found this page useful, consider linking to it. Simply copy and paste the code below into your web site.

It will look like this: Deploying WAR on JBOSS - II

Leave a Reply