-
1. Re: How to deploy WAR
gilb Nov 5, 2002 5:45 PM (in response to jamiedewet)Jamie - drill down to the /server/default/deploy directory and create a folder of YourAppName.war and place your war file in it. If all is set up properly in your web.xml and such, and you have JBOSS running it will pick up the update immediately and hot deploy it while you watch.
Gil :=)) -
2. Re: How to deploy WAR
joelvogt Nov 5, 2002 6:14 PM (in response to jamiedewet)deploy the same as an ear file. You don't have to specify jsp in web.xml.
How are you importing the file in your jsp? Probably post a quick code snip to help -
3. Re: How to deploy WAR
jamiedewet Nov 11, 2002 11:25 AM (in response to jamiedewet)I have posted the jsp code I'm using. Even when I deploy my .WAR file in JBoss, I can see a line saying: web.xml not found when JBoss is deploying the WAR. Any Ideas? Thanks, Jamie
JSPWithCounter
<jsp:useBean id="JSPWithCounterBeanId" scope="session" class="jsptest.JSPWithCounterBean" />
<jsp:setProperty name="JSPWithCounterBeanId" property="*" />
<h1>
JBuilder Generated JSP 01
</h1>
Enter new value :
Value of Bean property is :<jsp:getProperty name="JSPWithCounterBeanId" property="sample" />
This page has been visited :<%= JSPWithCounterBeanId.count() %> times.