author | František Kučera <franta-hg@frantovo.cz> |
Sun Mar 01 01:27:29 2009 +0100 (2009-03-01) | |
changeset 3 | a74502ffcffa |
permissions | -rw-r--r-- |
franta-hg@1 | 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
franta-hg@1 | 2 |
<html> |
franta-hg@1 | 3 |
<head> |
franta-hg@1 | 4 |
<title>Cewolf Tutorial(1): Prepare Your Application</title> |
franta-hg@1 | 5 |
<meta name="author" content="Guido Laures"> |
franta-hg@1 | 6 |
<link href="../cewolf.css" rel="stylesheet" type="text/css"> |
franta-hg@1 | 7 |
</head> |
franta-hg@1 | 8 |
<body> |
franta-hg@1 | 9 |
<p> </p> |
franta-hg@1 | 10 |
<h1>Tutorial: Step 1</h1> |
franta-hg@1 | 11 |
<h2>Prepare Your Application</h2> |
franta-hg@1 | 12 |
<p> If you have not downloaded the Cewolf distribution yet, this is the |
franta-hg@1 | 13 |
point to do it (look at <a |
franta-hg@1 | 14 |
href="http://sourceforge.net/project/showfiles.php?group_id=57282" |
franta-hg@1 | 15 |
target="new">Download</a>). Put the following JAR files of the <tt>/lib</tt> |
franta-hg@1 | 16 |
directory into your web application's <tt>/WEB-INF/lib</tt> directory: </p> |
franta-hg@1 | 17 |
<ul> |
franta-hg@1 | 18 |
<li>jfreechart-*-demo.jar</li> |
franta-hg@1 | 19 |
<li>jfreechart-*.jar</li> |
franta-hg@1 | 20 |
<li>jcommon-*.jar</li> |
franta-hg@1 | 21 |
<li>commons-logging.jar</li> |
franta-hg@1 | 22 |
<li>cewolf.jar</li> |
franta-hg@1 | 23 |
<li>batik-xml.jar</li> |
franta-hg@1 | 24 |
<li>batik-util.jar</li> |
franta-hg@1 | 25 |
<li>batik-svggen.jar</li> |
franta-hg@1 | 26 |
<li>batik-dom.jar</li> |
franta-hg@1 | 27 |
<li>batik-awt-util.jar</li> |
franta-hg@1 | 28 |
</ul> |
franta-hg@1 | 29 |
<p> Put the file overlib.js from the <tt>/example</tt> directory into |
franta-hg@1 | 30 |
your webapps root directory. This file is needed to provide tooltips for |
franta-hg@1 | 31 |
image maps for Mozilla based browsers. </p> |
franta-hg@1 | 32 |
<p> That should be all you have to do to prepare your application for |
franta-hg@1 | 33 |
Cewolf usage. If you encounter any problems in using the Cewolf tags |
franta-hg@1 | 34 |
(e.g. "No Tags" is displayed in your containers console) you can |
franta-hg@1 | 35 |
additionally put the <tt>cewolf.tld</tt> (or <tt>cewolf-1.1.tld</tt> for |
franta-hg@1 | 36 |
JSP 1.1 containers) file from the distribution's <tt>etc</tt> directory |
franta-hg@1 | 37 |
into a directory of your choice under your web application's root and |
franta-hg@1 | 38 |
reference this file as the cewolf tag library from your JSPs. </p> |
franta-hg@1 | 39 |
<p> <a href="step2.html">Step 2: Provide a DatasetProducer>></a> </p> |
franta-hg@1 | 40 |
<a height="30" target="new" href="http://sourceforge.net"><img |
franta-hg@1 | 41 |
alt="SourceForge Logo" border="0" height="30" |
franta-hg@1 | 42 |
src="http://sourceforge.net/sflogo.php?group_id=57282&type=5"></a> |
franta-hg@1 | 43 |
</body> |
franta-hg@1 | 44 |
</html> |