Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat setting wrong content type

 
Rick Blumberg
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Rick
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic