aspose file tools*
The moose likes Servlets and the fly likes BasicServlet.HTML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "BasicServlet.HTML" Watch "BasicServlet.HTML" New topic
Author

BasicServlet.HTML

REH Henderson
Greenhorn

Joined: Jun 17, 2004
Posts: 5
I ran this particular program and I still not sure what I am suppose to get
as a response.

<HMTL>
<HEAD>
<TITLE>
BasicServlet
</TITLE>
</HEAD>
<BODY>


<FORM
ACTION=http://localhost:8080/servlet/BasicServlet
METHOD=POST>

<BR><BR>
press Submit Query to launch servlet BasicServlet
<BR><BR>
<INPUT TYPE=submit>
<INPUT TYPE=reset>
</FORM>

</BODY>
</HTML>

I am suppose to get "Your request method was get".I am?


Richie Henderson
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12789
    
    5
If you are using Tomcat, the URL
ACTION=http://localhost:8080/servlet/BasicServlet

indicates you are using a old reference that predates a change in default settings for Tomcat installations. See this Ranch FAQ on the invoker servlet.
Bill
 
wood burning stoves
 
subject: BasicServlet.HTML