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!

Server returned HTTP response code: 405 for URL ?????

843840Aug 7 2002 — edited Jan 24 2003
I have an applet which generates an image, then sends that image to a servlet via doPost().

I made an ImageIcon out of the image so that it is serializable. I then sent it through an ObjectOutputStream. I'm using an inputStream so that the servlet just sends a simple plain text "i got it" message back to the applet, but now i'm getting a

java.io.IOException: Server returned HTTP response code: 405 for URL: http://localhost:8080/ runtime error.

I am relatively new to programming servlets, so if anyone knows why that error is coming up, what I need to do differently, or any good resources, that would be great. Thankx :)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 21 2003
Added on Aug 7 2002
10 comments
4,813 views