0 Replies Latest reply on Apr 13, 2004 12:32 PM by neil1

    Serving compiled servlet to root context but not found

    neil1

      hi, I have looked around and not yet found a solution for this situation. I have jboss 3.0.4. I have made my jboss-web.xml in the WEB-INF folder.

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.3//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_3_0.dtd">
      <jboss-web>
      <context-root>/</context-root>
      <virtual-host>abc.domain.com</virtual-host>
      </jboss-web>

      and specified Home.jsp as the first welcome file in both my WEB-INF\web.xml and in the jbossweb.sar .

      On my dev system, there are all jsps. in my test server, I put compiled servlets, all the mappings are right, and I can hit all of them just fine using http://abc.domain.com:8080/PageName.jsp

      However, when I hit http://abc.domain.com:8080 I get my directory listing of my war folder, so it must not be finding the Home.jsp, which makes sense, because it's not there, it's a compiled servlet class. But, as I mentioned above, the Home.jsp servlet class is mapped in my web.xml so that it does come up via http://abc.domain.com:8080/Home.jsp

      Thanks alot in advance,
      Neil