Installation d'une bibliothèque pour affichage des graphes

boumboum2006 Messages postés 32 Date d'inscription vendredi 31 mars 2006 Statut Membre Dernière intervention 27 mai 2006 - 10 mai 2006 à 23:12
cs_seito Messages postés 56 Date d'inscription lundi 15 mars 2004 Statut Membre Dernière intervention 24 mai 2006 - 24 mai 2006 à 22:21
salut a tous !

svp j'ai une bibliothèque chardir qui permet d'afficher des graphes que j'arrive pas à installer, je veut l'utiliser avec JSP
je croi que j'ai un problème de serveur
en fait dès que je fait le test URL l'erreur suivante s'affiche "erreur HTTP 404"
dans l'aide de l'installation ils m'ont demandé de fair les taches suivantes :

"Installing ChartDirector in a JSP Web Server

The easiest method to install ChartDirector in a web server is to deploy the ChartDirector as a web application. Virtually all JSP web servers support deploying WAR. Please refer to your web server's documentation for details.

After deploying ChartDirector as a JSP web application, you can access the ChartDirector documentation and sample code using:


http://server_name/context_path

where "context_path" is the path of the servlet context that you use during deployment.

Most web servers will automatically extract the WAR file during deployment. However, some web servers, such as BEA Web Logic, or Tomcat configured with unpackWARs="false", will use the WAR file directly without extracting it. In these cases, ChartDirector will work normally, but you will be unable to modify the sample code and experiment with ChartDirector.

If your web server does not automatically extract WAR files, you may extract the ChartDirector WAR file to a directory first, and deploy the extracted directory to the web server. In this way, you can modify the sample code and experiment with ChartDirector.

If you do not want to automatically install ChartDirector using WAR, you can manually install the ChartDirector sample code by copying the necessary files.


Extract the WAR file to an empty directory.


Copy "WEB-INF/lib/ChartDirector.jar" to the "WEB-INF/lib" subdirectory of your web application.


Copy the entire sample code directory "jspdemo" to your web application.
For some JSP web servers, you may need to restart the web application after modifying the "WEB-INF/lib" subdirectory.

You may then access the sample code using:


http://server_name/context_path/jspdemo/index.htm

j'ai pa très bien compris ce qu'ils me demandent mais je crois que j'ai fait l'essentiel sauf que j'ai le problème de l'erreur 404
aidez moi svp c'est très urgent!
merci

1 réponse

cs_seito Messages postés 56 Date d'inscription lundi 15 mars 2004 Statut Membre Dernière intervention 24 mai 2006
24 mai 2006 à 22:21
l'erreur 404 signifie que la ressource que tu demande est introuvables via l'url que tu indique, en gros tu devras juste dezziper ton package, dans tomcat tu le met dans le repertoire web_app et copier WEB-INF/lib/ChartDirector.jar  dans ton le repertoir conf/lib de tomcat ensuite tu n'as qu'à y acceder via http://nom_server:port/nom_context/nom_package
j'espère que ça t'aurais aidé
0
Rejoignez-nous