1 Reply Latest reply: Oct 8, 2006 5:04 AM by 843844 RSS

    Multiple Wars in Ear -URL

    843844
      Hello all,

      I am having an ear having 2 wars.I need that the unique context for both war.I have heard context name are war level not ear level.
      Is it correct?

      If that is the case then can it be possible that if a.war nad b.war in an EAR then URL:

      http://ip:port/a/x.html for a.war

      http://ip:port/a/b/y.html for b.war

      means context root in hierarchy of other wars context name.

      Please help
        • 1. Re: Multiple Wars in Ear -URL
          843844
          Hello,

          Your problem looks very interesting. I have never done such thing. But still I have one idea, which might be helpful for you. You can use virtual host for a that means your urls will look like:
          http://a:port/x.jsp
          http://a:port/b/y.jsp

          I don't think that context inside a context is possible.

          If you elaborate more why you need such context settings then may be I can try to suggest better.

          Regards
          Rishi Dev [ http://www.nastec.biz/ ]