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?