2 Replies Latest reply on Nov 18, 2003 3:08 AM by arunhorne

    Minimal HelloWorld JSP

    arunhorne

      Hi,

      I have created a small HelloWorld war with the following directory structure.

      ./HelloWorld.jsp
      META-INF/web.xml

      The HelloWorld.jsp is a valid jsp page. The web.xml file contains the following:

      <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//
      DTD Web Application 1.2//EN"
      "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">

      <web-app>
      </web-app>



      When I compile this into a war (I have tried using Ant and jar to acomplish the task) and copy it into the server deploy directory (I am running on the minimal config) I get a message saying - "waiting for an appropriate deployer" - but I think the war is totally valid?

      Any ideas?

        • 1. Re: Minimal HelloWorld JSP
          jonlee

          WEB-INF/web.xml?

          Except I think you might need something more in the web.xml for Tomcat. And what is the name of the WAR file?

          And the minimal config doesn't have a servlet container on which to deploy a WAR - at least not on JBoss 3.2.2.

          • 2. Re: Minimal HelloWorld JSP
            arunhorne

            I will retry it in the default server mode as I am using JBoss 3.2.2 - perhaps that will let the war be deployed... didn't even cross my mind that might be the case. Many thanks.