I am using a servlet to generate the PDF, and the post from the servlet goes to the browser via https. Tomcat IS configured to accept connections via https, The entire site is currently running via https successfully. The only time I get an error is when generating the PDF. I assumed that the xmlns attribute was the problem because it is the only piece on the page that makes a call via http.
It could be that Tomcat is not configured properly to ensure that the default connection is https, and no http connection should be allowed to the servlet. I will investigate. Thanks, Graham -----Original Message----- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: Thursday, February 20, 2003 1:37 PM To: [EMAIL PROTECTED] Subject: Re: xmlns:fo secure link Don't confuse URIs with URLs. URIs like "http://www.w3.org...." have NOTHING to do with the HTTP protocol. The "http://" prefix is simply often misused and can therefore lead to confusion, as in your case. Are you using the FOP servlet to generate PDF? And does that PDF content go to the browser over HTTP instead of HTTPS? That could explain the error message you receive. But something like that is not FOP's doing, it's Tomcat's job (or the job of Apache Web server) to maintain the internet connection and to determine whether it is to be encrypted or not. You need to configure Tomcat in a way that the FOP servlet is accessible over HTTPS. Please consult Tomcat's documentation on how to accomplish this. Maybe you've already set up everything correctly but call the servlet of HTTP instead of HTTPS. Check your webapps and links. On 20.02.2003 20:54:22 Graham Lange wrote: > I am running an FOP project on a secure web server. The server is Redhat > 7.3 with Apache 1.3 and Tomcat 4, FOP version 0.20.4 > The problem I am having is with the namespace. Is there any way that I > can get a secure version of the namespace so that I dont get a warning > when the PDF is loaded. My stylesheet tag looks like the following. > <xsl:stylesheet > xmlns:xsl="<http://www.w3.org/1999/XSL/Transform>" > xmlns:fo="<http://www.w3.org/1999/XSL/Format>" > version="1.0"> > After transforming the xsl, the fo:root tag shows up as follows. > <fo:root xmlns:fo="<http://www.w3.org/1999/XSL/Format>"> > The problem here is that the URI is not to a secure web server therefore > I get the warning message, > This page contains both secure and nonsecure items. Do you want to > display the nonsecure items? > Can I deploy the namespace to my local server? Is there a secure server > available? The pdf does not get formatted when I remove the namespace > attribute in the stylesheet tag. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
smime.p7s
Description: S/MIME cryptographic signature
