Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Form POST Error  RSS feed

 
Rudy Simon Yeung
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any help will be appreciated.

Rudy
==========================================
I try posting a form in an html file:

<form name="reg" method="post" action="/Events/SSK/Confirm.asp" class="verd-3">


but I get an error from the browser saying:


"Method Not Allowed"
The requested method POST is not allowed for the URL /Events/SSK/Confirm.asp

Apache/1.3.33 Server at www.bcka.bc.ca Port 80
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The code for the asp file is rejecting the POST request. The same thing will result for a servlet that doesn't support the POST request.

So you either need to use a GET request, or add post support to the asp.
 
Rudy Simon Yeung
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank You and it works!!

Rudy
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!