Accessing File in a WAR for XSLTInputHandler

2004-06-11 Thread Manoj_Nair
My application is deployed in a WAR format on Unix. The XSLTInputHandler is trying to access the XSL and the XML files on the system but the getRealPath() and the getResource() methods return null /or a path which included the war info and the  XSLTInputHandler errors out with FileNotFoundException

XMLParser error with unicode characters in XML file.

2004-07-06 Thread Manoj_Nair
I am getting a XML parsing error from weblogic.apache.xerces when I parse a XML document which contains accented characters. This is what I am doing 1) Some database columns have accented data for spanish,japanese etc languages like NÃmero de identificaÃÃo: and nÃmero de identificaciÃn. 2) I am r

How to tell Driver to open acrobat in a new IE?

2004-08-11 Thread Manoj_Nair
I am parsing my XML file through FOP parser and then telling the driver to render it as PDF. The process is initiated by clicking on a button on IE. What happens is the current IE instance opens the acrobat and displays the PDF it. The users have to hit back button to get back to the application.

Printing PDF on the client default printer.

2004-10-21 Thread Manoj_Nair
** I had posted this in the fop-user group and the responses indicated that there is no way this can be implemented currently. Just wanted an opinion from the fop-dev crowd. Thanks ** My requirement is to render an XML as a PDF and then prin

XSLTInputHandler questions

2004-10-25 Thread Manoj_Nair
Folks I am planning to use the following XSLTInputHandler constructor in an applet downloaded on the client side. Before I use it I have the following questions. public XSLTInputHandler(File xmlfile, File xsltfile) throws FOPException { } public XSLTInputHandler(String xmlURL, String xsltURL)

Printing PDF on the client default printer.

2004-11-30 Thread Manoj_Nair
Just wanted everyone to know that I have successfully implemented client side printing using FOP Eg: If the XML file gets created on the webserver which is located in Los Angeles and the user in London, then the XML is converted to PDF and the PDF file is printed on the clients default printer

Re: Printing PDF on the client default printer.

2004-12-01 Thread Manoj_Nair
This is how I did it.. 1) I used a invisible signed applet within the jsp page which renders the screen. 2) The user selects the documents to be printed and passes this info to the applet. 3) The applet take this info and calls a servlet which creates the corresponding XMLs. 4) The XSLTHandler w

Userconfig.xml for FOP within an applet.

2005-02-06 Thread Manoj_Nair
As you might know I have successfully got the Japanese fonts to be displayed on PDF  by using the userconfig.xml file to load the MSGOTHIC.TTF fonts. In this case I was running a servlet which used FOP to convert the XML file on the webserver ( weblogic) to PDF and then open it using acrobat. I wan