Hello, I am having a problem installing cewolf into my
web application. I have used cewolf a few times before
for different projects with no problems. I am
developing on Suse 9.1 using Mozilla 1.7.5 running on
Jetty App Server. I ran the test in the tutorial to
make sure that the servlet was installed correctly and
it is. When I try to display my chart I don't get any
stack traces or anything. I have my chart in it's own
jsp, and I just include the chart jsp into the
displaying jsp. The title of the chart is showing up
fine when it is rendered but the page comes back with a
missing image where the chart should be. I made sure
all the paths were correct and I even tried a
System.out.println in the first line of the
DatasetProducer.produceDataset method and I'm not
getting it to print out. I'm not receiving a stack
trace or any other indication of what this may be. I
just want to figure out how to call my DatasetProducer
and hopefully I can sort out any problems from there....
any and all help would be appreciated!
DonM
2005-09-09
Logged In: YES
user_id=1342143
The sample jsp specifies renderer="cewolf" in the cewolf:img
tag. In my case, I put the jsp in a subdirectory, and experienced
the same result you describe with the title showing but the chart
showing a missing image. I changed the cewolf:img tag to
specify renderer="/cewolf" (adding the slash) and then it
worked. The servlet mapping in web.xml specifies <url-
pattern>/cewolf/*</url-pattern> and so requires a slash when
used in a jsp that is not in the top level directory.