aspose file tools*
The moose likes Servlets and the fly likes HTTP Status 404 - The requested resource (/UploadImage/UploadImage) is not available. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "HTTP Status 404 - The requested resource (/UploadImage/UploadImage) is not available." Watch "HTTP Status 404 - The requested resource (/UploadImage/UploadImage) is not available." New topic
Author

HTTP Status 404 - The requested resource (/UploadImage/UploadImage) is not available.

Kee Kee moon
Ranch Hand

Joined: Dec 11, 2009
Posts: 147

I got the errors:
Status report
message /UploadImage/UploadImage
description The requested resource (/UploadImage/UploadImage) is not available.


Does it means, my jsp file could not get the UploadImage.class file ? Should I use the full path as blow I highlighted in bold face.
Thanks

<form action="C:\xxx\xxx\\eclipse\workspace\UploadImage\build\classes\UploadImage" method="post" enctype="multipart/form-data" name="productForm" id="productForm"><br><br>
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61010
    
  65

Of course not.

You should use the context path followed by the servlet path as defined in the deployment descriptor.

This is covered in the ServletsFaq; see http://www.coderanch.com/how-to/java/ServletNotRunning404


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTP Status 404 - The requested resource (/UploadImage/UploadImage) is not available.