Re: please help me

2001-04-20 Thread Steffen Gransow

Under
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/win32/i386/ you'll 
find the required files. Perhaps I don't understand your
question right, but you can install/use tomcat with your existing Win2K
installation.

Regards

Steffen Gransow

 Dear Sir.
 
 Where can I download jni_connect.dll ?
 In addition, whether can Tomcat be installed od windows 2000 server?
 
 Thanks a lot
 
 yours zzb 
 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net




JDOM and JAXP

2001-04-19 Thread Steffen Gransow

Hi,

I wrote a tiny servlet that builds a JDom-document from a mySQL database
table. After building the document in memory I want the document to be
transformed to HTML (using a xsl-stylesheet and JAXP/Trax). This process fails. When I
use the code to write the result to a file it works. When I try to output it
to the ServletOutputStream it fails. What do I do wrong? Possibly it's a
version conflict of the jaxp.jar file. I put all the jars my servlet needs in
the WEB-INF/lib directory of my web-app. Of course there's a jaxp.jar in it.
What can I do to make this work? Is there a way to replace the jaxp.jar of
tomcat with the other jaxp.jar? Or are there any other possibilities to solve
my problem?

code snippet:

Transformer transformer =
TransformerFactory.newInstance().newTransformer(new StreamSource("d:/test1.xsl"));
transformer.transform(new JDOMSource(doc), new
StreamResult(res.getOutputStream()));

When I use FileOutputStream (and not res.getOutputStream) it works I think.

Thanks in advance.

Regards

Steffen Gransow

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net