0 Replies Latest reply on Dec 9, 2002 1:15 PM by Patrick Donahue

    where do I put the Servlet ?

    Patrick Donahue Newbie

      I am using Jboss and Jetty.

      I got the below example from page 119 of “Java Enterprise In A Nutshell.”

      I typed in the following html example:

      Greetings Form

      <form method=get action="/servlet/HelloServlet">
      What is your username?
      <input type=text name=username size=20>
      <input type=submit value="Introduce Yourself">

      It is an html file in a test.war directory that successfully deploys. The html comes up, but when I click on the “Introduce Yourself” button, it comes back with can’t find Servlet.

      Where should I place the Servlet?

      The Servlet would just be the HelloServlet.class file, right?