File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Kee Kee moon
Ranch Hand
Posts: 147
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic