servlet doPost() method and "HTTP Status 404 - /HelloPost" error
843841Mar 12 2006 — edited Mar 13 2006hi all
i've a problem with doPost(...) method. i use Tomcat4.1 version and in root folder i store Form.html where i use a doGet() method and in WEB-INI>>classes i store Hello.class file for doGet() method. it works normally. but when i write a Form1.html for doPost() method with "<FORM METHOD=POST ACTION="/HelloPost">" line and store as same folder as Form.html and HelloPost.class in WEB-INI>>classes folder. its not working and showing a error
"HTTP Status 404 - /HelloPost"
error type =Status error.
message=/HelloPost
description =The requested resource (/HelloPost) is not available
if anyone of u know what the problem is.. then plz inform me... it will help me a lot to learn servlet.
thnx a lot
Arif