Problem solve Get help with specific problems with your technologies, process and projects.

Why do we get "http:405 Resource not allowed"?

Why do we get "http:405 Resource not allowed" while using a J2EE server to run a servlet? I had an HTML form created and on submission it was required to call "http://localhost:8000/contextform/aliasform" but gave the above error is there any problem with the above link provided to call this servlet class called "oldcalledform.java"?
Make sure you configure your servlet in the web.xml file for your Web application. Also make sure you handle both the doPost and doGet methods, even if you just route one call through the other.

Dig Deeper on Topics Archive

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.