Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

servlet doPost() method and "HTTP Status 404 - /HelloPost" error

843841Mar 12 2006 — edited Mar 13 2006
hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 10 2006
Added on Mar 12 2006
3 comments
397 views