Active3 years, 2 months ago
Thrown to indicate that a block of code has not been implemented. This exception supplements UnsupportedOperationException by providing a more semantically rich description of the problem. NotImplementedException represents the case where the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag.
Spb songs mp3. I'm a beginner and making a small registration program with database But i'm trying to run this but it's giving me some errors pls help:
And here is my
register.html
codes:Here is my
Register.java
codes:And here is my
Web.xml
:Help would be appreciated!!
user3631223user3631223
3 Answers
The problem is that you mapped your servlet to
/register.html
and it expects POST method, because you implemented only doPost()
method. So when you open register.html
page, it will not open html page with the form but servlet that handles the form data.Alternatively when you submit POST form to non-existing URL, web container will display 405 error (method not allowed) instead of 404 (not found).
To fix:
Leos LiterakLeos Literak4,93399 gold badges4444 silver badges8585 bronze badges
I think your issue may be in the url pattern. Changing
and
may fix your problem
TotòTotò
Mihir DeshpandeMihir Deshpande
protected by Community♦Jul 28 '16 at 6:30
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Would you like to answer one of these unanswered questions instead?