This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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.

Have you checked out Aspose?
subject: Tomcat setting wrong content type
jQuery in Action, 3rd edition