• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cewolf Chart Rendering Frame work

 
Pallavi Sikdar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am using cewolf0.9.8. I am able to produce a chart. But what I cannot understand is how the renderer servlet(de.laures.cewolf.CewolfRenderer) is getting called. All I do is call my jsp.(I think Controller servlet of struts framework can be compared to renderer servlet of cewolf )
I checked the server console(am using WASAD)which displays that init() of renderer servlet is getting called.How, have no idea... there is no <load-on-startup> mentioned in web.xml.
I also went through the source code of the renderer servlet and the taglibs but nowhere could i find any piece of code which calls the servlet.
Can anyone tell me how these work?

Since I am new to Java Ranch I am not sure whether a similar Q has been posted. If so, could anyone give me a link to it?
Thanks!!
Pallavi
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Pallavi"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it

here.

Thanks! and welcome to the JavaRanch!

Mark
 
Pallavi Sikdar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mark!!
I did read the Naming Policy before registering... I missed out the part where it was mandatory to have a first name and last name.
The problem is I was a member of javaranch about 10 months back and regularly visited it for a month.. but lost in touch..
Now I have forgotten my password. so i registered again.
My full name is Pallavi Sikdar
But javaranch did not allow me to add it(I suspect because of my previous account)Nothing was working.
What should i do now? Give a false last name? Or is there anyway i can get my password back
Thanks again!!
Pallavi
 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pallavi,

If you look in web.xml of cewolf webapp, you will find



and further down




cewolf specific tags in the JSPs, for example in cewolfset_inc.jsp, then convert calls like



to calls to the servlet after generating the image from the calls to the appropriate dataset, defined with tags like




If it is not defined with a load-on-startup, it is must be getting initialized on the first call to the servlet

To find out the inner working of it all, you will need to look at the sources included with the cewolf download.

If you are using it for a commercial product though, research it well, I remember a while ago cewolf was running into some problems, and not keeping up with the latest releases of JFreeChart etc, and appeared not to be under active development. Which no one should complain about really, since it is an open source, not-for-profit product.

But from the recent activity on cewolf forum http://sourceforge.net/forum/forum.php?forum_id=192228,
it seems to be back on track, and under active development again.

HTH. Please keep us posted how you go with cewolf.

Sonny
[ October 07, 2004: Message edited by: Sonny Gill ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic