Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Does anyone here use the Cewolf API?

843838Feb 27 2007 — edited Feb 27 2007
I am in the middle of a project where I have to display a linear graph chart which presents the results from a simulation. After som searching I decided to use Cewolf (Chart Enabling Web Object Framework).
http://cewolf.sourceforge.net/new/index.html

Now, I went through the tutorial step by step to make sure I did everything right, but then when it was time to view the results, the jsp page is displayed, but the image doesn't/is blank.

My JSP:

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib uri='/WEB-INF/cewolf.tld' prefix='cewolf' %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="themes/default/stylesheet.css" />
<title>JSP Page</title>
</head>
<body>


<%@ include file="includes/Header.jsp" %>
<%@ include file="includes/NavOnline.jsp" %>
<div id="content">
<jsp:useBean id="pageViews" class="hovedprosjekt.pages.GraphData"/>
<cewolf:chart
id="line"
title="Page View Statistics"
type="line"
xaxislabel="Page"
yaxislabel="Views">
<cewolf:data>
<cewolf:producer id="pageViews"/>
</cewolf:data>
</cewolf:chart>
<p>
<cewolf:img chartid="line" renderer="cewolf" width="400" height="300"/>
</p>
</div>
<%@ include file="includes/Footer.jsp" %>

</body>
</html>

I use Netbeats IDE 5.5 to run my project, if that's any help... I just can't see what it is that I'm doing wrong here
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 27 2007
Added on Feb 27 2007
2 comments
143 views