trying to generate a fop pdf file from a servlet and im getting this error:
java.lang.NullPointerException at oracle.xml.jaxp.JXTransformer.reportXSLException(JXTransformer.java:776) at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:343)
it is falling out at this point...
i got it working, it had to be adobe 7 that was installed, then i went to the options/internet and on ticked the box that said display pdf in browser. open the website and clicked the link(saved to the hard drive)went back into adobe and recheck the option to display pdf in broswer. opened the...
i have a button on my web site to open a pdf document, when i click on this is IE it just displays a blank pdf(but if i go to save it or email it and the open the document it shows correctly,it is been downloaded properly but not displayed)
i can click on this button in firefox and mozilla and...
hi
when i callSource xslSource = new StreamSource(new URL(http://localhost:8080/Report/servlet/ReportRee020DSB....).openStream());
what should that servlet be returing, or type of format returned
i can't use the above method of writing to a tmp file to generate the pdf.
is there a way of debuging what format 'new StreamSource(new file(...))' takes in the info and duplicating it from the call to the servlet
yes i can call the servlet(Fop).
in this servlet(Fop) i call another servlet(ReportRee020DSB) to output the xml required.
Fop Servlet
package report;
import java.io.*;
import java.util.*;
import java.net.URL;
import javax.rmi.PortableRemoteObject;
import javax.ejb.CreateException;
import...
no that didn't work for me.it is getting into the other servlet and going through the steps to create the xml but still it outputing a blank pdf.
would the problem be what i'm outputting on the 'ReportRee020DSB' servlet
out.println("<?xml version=\"1.0\" encoding=\"UTF-8\"?>")...
the problem that i can't get the report to generate properly when i dynamically generate the xml from a servlet.
as an input source for the xml i'm using:
Source src = new StreamSource("http://localhost:8080/Report/servlet/ReportRee020DSB....)
which when run will generate a blank pdf.
i know...
On my Jsp page i have a call to servlet thats using Fop to create a pdf report. In the servlet it needs two input sources of xsl and xml.
My problem occurs with the xml input source, i need to have xml input source as a call to another servlet which searchs a database and dynamically creates xml...
i have a scroll pane that loads a moveClip from the library and i want to use the complete fuction to call another function from within that movieClip.
i know complete will work if the contentPath is a swf but not if it is a movieClip
createClassObject(mx.containers.ScrollPane, "scrollPane"...
The Flash Remoting session is independent of HTTPSession objects available to JSPs and servlets. A stateful JavaBean instantiated through Flash Remoting MX cannot access an object stored in a session by a JSP or servlet. Conversely, a JSP or servlet cannot use its session to access a JavaBean...
does anyone know how to change the border colour of a combo box before it is selected, i can change the border colour of the dropdown and button but not in is normal state
ya it can be done. create a new movice clip instance. open up the linkage put in identifer call it 'CheckCellRenderer' and in the AS 2.0 class put 'mx.controls.cells.CheckCellRenderer'
var myColumn = new DataGridColumn("name");
myColumn.cellRenderer = "CheckCellRenderer"...
no because the amount datasets/girds needed is coming from a table in a database i.e. normally one but it can be 4 or more grids with each linked to a different table in the database
just from a quick look i think that you prob might be the dept that the movie is created at(all the same so only the last one will show) increase the depth each time by using this
this.getNextHighestDepth()
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.