aspose file tools*
The moose likes Servlets and the fly likes cewolf Chart Rendering Frame work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "cewolf Chart Rendering Frame work" Watch "cewolf Chart Rendering Frame work" New topic
Author

cewolf Chart Rendering Frame work

Pallavi Sikdar
Greenhorn

Joined: Oct 06, 2004
Posts: 2
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

Joined: Feb 05, 2001
Posts: 17257
    
    6

"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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Pallavi Sikdar
Greenhorn

Joined: Oct 06, 2004
Posts: 2
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

Joined: Feb 02, 2002
Posts: 1211

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 ]

The future is here. It's just not evenly distributed yet. - William Gibson
Consultant @ Xebia. Sonny Gill Tweets
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cewolf Chart Rendering Frame work