Author : James Smith
Email : james_smith73@yahoo.com
Home Page : http://www.oocities.org/james_smith73
XSL XML Page : http://www.oocities.org/james_smith73/xmlxslt.html
Code Download : http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=5074&lngWId=2
====================================================
Download JDOM from http://www.jdom.org/dist/binary/ File Name : jdom-1.0.zip
and extract it to get the following jar files
jdom.jar, servlet.jar, xalan.jar, xerces.jar, xml-apis.jar
=====================================================
Assumption
=====================================================
Tomcat : CATALINA_HOME = C:\Tomcat
Tomcat Version : Apache Tomcat/4.0.2
Java : JAVA_HOME = C:\jdk1.3.1
path = %path%;C:\Tomcat\bin;C:\jdk1.3.1\bin
=====================================================
These Jar Files Required in this directory
C:\Tomcat\webapps\xmlxslt\WEB-INF\lib directory
you can get them after unzipping jdom-1.0.zip file
, jdom.jar, servlet.jar, xalan.jar, xerces.jar, xml-apis.jar
=====================================================
C:\Tomcat\webapps\xmlxslt
----readme
----src
----+--com
-------------+ xmlutils
----+--web
------------+ images
------------+ jsp
------------+ xsl
------------+ xml
----+--WEB-INF
------------+ classes
---------------------+ com
----------------------------+ xmlutils
------------+ lib
=====================================================
To Compile Source Files Manually (IF YOU MODIFY CODE)
set classpath=.;%classpath%;
C:\Tomcat\webapps\xmlxslt\lib\jdom.jar;
C:\Tomcat\webapps\xmlxslt\lib\servlet.jar;
C:\Tomcat\webapps\xmlxslt\lib\xalan.jar;
C:\Tomcat\webapps\xmlxslt\lib\xerces.jar;
C:\Tomcat\webapps\xmlxslt\lib\xml-apis.jar;
========================================================
javac com\xmlutils\*.java
========================================================
Application URL After Startint Tomcat
http://localhost:8080/xmlxslt/
http://localhost:8080/xmlxslt/web/jsp/index.jsp
|