i think there is a little error in html coding part
you didnot use '>' in form line
<form...............
..................where is '>'
but besides that there is some more error which is not making you open this page
do one thing if you are able to see the welcome page on entering http://localhost:8080/ then your tomcat is configured rightly
use the latest version of tomcat as it has removed many bugs of previous versions

Tom Nishan
Greenhorn

Joined: Feb 04, 2011
Posts: 7

posted Feb 06, 2011 11:34:27

0

Thank you guys!

I installed Tomcat 7 and I got welcome page.
I still got the same error.

HTTP Status 404 - /Beer-v1/form.html

type Status report

message /Beer-v1/form.html

description The requested resource (/Beer-v1/form.html) is not available.

Apache Tomcat/7.0.5

ankittt agarwala
Ranch Hand

Joined: Jan 19, 2011
Posts: 42

posted Feb 07, 2011 06:01:49

1

i think your form.html is not a html file actually its a notepad file with name form.html
do you get a webpage on opening it directly by double clicking it??
if yes then do the following thing
write the following code in a notepad file and click save as
there name it as form.html and in type press "all files" and then save it
in tomcat webapps directory make a new folder t and paste the above form.html file in t
now start tomcat and open the link http://localhost:8080/t/form.html now it should open.
code