[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XSL Transformation in secure mode using Tomcat

Subject: RE: XSL Transformation in secure mode using Tomcat
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 21 Nov 2003 07:43:58 -0000
xml xsl transform tomcat
If you want to get a question like this answered, the first thing you
need to tell us is which XSLT processor you are using.

Michael Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Sridhar Sourirajan
> Sent: 20 November 2003 16:58
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  XSL Transformation in secure mode using Tomcat
> 
> 
> > Hullo,
> > 
> > I am transforming a XML to HTML using a XSL with the 
> following snippet 
> > of code:
> > 
> > StreamSource xml = new StreamSource(reader);
> >       StreamSource xsl =
> >          new StreamSource( 
> >             new File(request.getRealPath(xslPath)));
> >    
> >       StreamResult result = new StreamResult(response.getWriter());
> >    
> >       TransformerFactory tFactory = 
> TransformerFactory.newInstance();
> >       Transformer transformer = tFactory.newTransformer(xsl);
> >       transformer.setOutputProperty(OutputKeys.METHOD, "html");
> >       transformer.setOutputProperty(OutputKeys.ENCODING, 
> "ISO-8859-1");
> >       transformer.setOutputProperty(OutputKeys.INDENT, "yes");
> >       transformer.transform(xml, result);
> > 
> > I am working in a JDK 1.4, Tomcat 4.1.27 environment. 
> Everything works 
> > well in a normal unsecure environment. After I configured Tomcat to 
> > work with https (secure mode), all other parts of my 
> application seem 
> > to work fine, except, the XSL transfomation. The 
> transformation does 
> > happen, but I get a server error that says:
> > 
> > file:///C:/eclipse2.1/workspace/monitor/build/war/foo.xsl; 
> Line 172; 
> > Column 63; Can not load requested doc: 
> > java.security.cert.CertificateException: Couldn't find trusted 
> > certificate
> > 
> > After this, my application "deteriorates!"
> > 
> > Do I've to configure my transformer in any special way? Thanks for 
> > your response.
> > 
> > --sridhar
> > 
> > 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.