File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Tomcat setting wrong content type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Tomcat setting wrong content type" Watch "Tomcat setting wrong content type" New topic

Tomcat setting wrong content type

Rick Blumberg

Joined: Sep 18, 2003
Posts: 1
I have developed a Java application that uses HTTP. The app is divided into a client-side and a server-side. All communication is with HTTP between the client app and the servlet.
I am using the Forte IDE when I run Tomcat in the IDE everything works. However, when I try to run standalone tomcat, I get a 404 error on the POST.
I am sure that this is just a configuration error, can anyone help.
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
404 means Tomcat can't find the resource you post to.
Make sure you have your servlet (I guess) installed correctly inside your standalone Tomcat, and your application pointing to the correct URI for it.

wood burning stoves
subject: Tomcat setting wrong content type
It's not a secret anymore!