-
1. Re: Configuring the context to "/"
shortpasta May 20, 2003 1:07 PM (in response to valsummers)Create a jar called myapp.ear.
create a file called META-INF/application.xml & place it in myapp.ear.
application.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<display-name>myapp</display-name>
<web-uri>myapp.war</web-uri>
<context-root>/</context-root>
I deploy my war separately from the ear. you can place the war inside the ear. -
2. Re: Configuring the context to "/"
twutort Aug 22, 2003 8:16 AM (in response to valsummers)Hello, I want to do the same thing. However, when I use an include file or some other relative path in my JSPs I have to put wwwroot in front of the path. LIke this:
<%@ include file="/wwwroot/includes_jsp/ADMIN/sniffer.shtml" %>
I have the following settings:
<web-uri>SimShop.war</web-uri>
<context-root>/</context-root>
Is there any way I can set this up so I don't have to have wwwroot in the relative path? Si I can load it like this:
<%@ include file="/includes_jsp/ADMIN/sniffer.shtml" %>
Thanks,
Tim