2 Replies Latest reply on Oct 10, 2002 9:46 PM by Greg Turner

    <context-root> .. again, sorry

    nusa Novice


      I'm a bit confuse about the EAR, WAR, <context-root> in application.xml and jboss-web.xml.
      OK, as far as I know, the structure of an EAR ( name it j2ee-app.ear ) is :
      |-----j2ee-app.jar ( this is where the java classes )

      and the structure of that WAR is :
      |-----< any HTML files or JSP files >

      ( I think this may be set as well : WEB-INF/struts-config.xml, WEB-INF/tiles-defs.xml, and WEB-INF/web-service.xml ).

      Both application.xml and jboss-web.xml have <context-root> element.

      Here are my questions :
      1. why that element exists in those two files ?
      2. how to use it if I want to access to http://azerty.org/
      3. how to use it if I want to access to http://azerty.org/home.html

      Thanks a lot for any help.