Help - Demo Servlet war

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Stef

Help - Demo Servlet war

Post by Stef » Wed Jan 29, 2003 7:25 am

Hi,

I downloaded the the jfreechart servle demo war file and copied it ot the /webapps directory in tomcat. The application was succesfully deployed but that was it. I can get ot the index page by typing the correct url but when clicking on any links on that page for the examples I get class not found errors as if the servlets do not exist. And I am not talking about the ones that need mysql database to run. I am talking about everything.

I installed it in two different machines one running tomcat 4.1.12 and the other 4.1.18 under JDK 1.4.0_01 but the same results happen.

What am I doing wrong?

How should install it

David Gilbert

Re: Help - Demo Servlet war

Post by David Gilbert » Thu Jan 30, 2003 1:00 am

I recall reading somewhere that Tomcat is now a little more strict on the content of the web.xml file. I don't have the details at hand, but I have downloaded and installed Tomcat 4.1.18 today...tomorrow I will get the servlet demo from the JFreeChart Developer Guide running, and I'll report back if I find anything that might apply to Bryan's more elaborate demo.

Regards,

Dave Gilbert

stef

Re: Help - Demo Servlet war

Post by stef » Fri Jan 31, 2003 4:20 am

by the way I downloaded tomcat 4.0.4 and everything works perfectly alright therefore I assume the problem is on the web.xml file.

Regards

Locked