xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Castagnaro <russ...@synctank.com>
Subject Re: a simple transform servlet, please
Date Tue, 06 Feb 2001 17:47:04 GMT
Aloha Heather,

Try this on for size
 http://www.synctank.com/javacon/TranslateFromServlet.java

Heather Lloyd wrote:

> i'm looking for a really really really simple example of a servlet that
> extends httpServlet, takes a really really really simple xml and xsl file
> from a directory, gets an XSLTProcessor Object, transforms the xml, and
> writes the output to a desktop browser.  i want to run the servlet in
> tomcat's web server, so i need to know how to configure it to find these
> things.  Please do not refer me to the DefaultApplyXSL class which is part
> of the xalan-j_1_2_2 xalansamples.jar distribution from xml.apache.org.  i
> can't get it to run, and it's way more complicated than necessary for my
> purposes.
>
> here are my digits:
>
> red hat linux 6.1
> jdk 1.3
> tomcat 3-2.1-1.noarch.rpm from rpmfind.net
> xalan-j_1_2_2 from xml.apache.org
>
> my TOMCAT_HOME/lib has the xerces.jar, xalan.jar, and xalansamples.jar from
> the above listed distribution, as well as the usual suspects.
>
> thanks in advance
>
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org

--

Russell Castagnaro
Chief Mentor
4Charity.com, changing the world one click at a time.
http://www.4Charity.com

Earth is the cradle of mankind; one does not remain in the cradle forever
-Tsiolkovsky



Mime
View raw message