Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 Murach's Java Servlets and JSP this week in the Servlets 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
Similar Threads
problem at last step
Cactus authentication
How to increase the time out period of the web service call
How to use Servlets using Netbeans 6.7.1 and JBoss 5.1.0 GA
Problem with Facets in Eclipse for dynamic web project