Clay, Thank you for your suggestion.
I tried using both .tif and .pdf. The problem seems like it is still the way of passing XSL parameter. For some reason, xsl does not recongnize the passing servlet. I am still researching on this part. Jeremias, do you have suggestion for this? thanks and have a Good Friday!, Jerry --- Clay Leeds <[EMAIL PROTECTED]> wrote: > I doubt if it'll work (READ: grasping at straws?), > but perhaps ending > the URL with the .tif extension in the same way that > adding .pdf to the > end of a PDF file helps. Something like: > > > > http://localhost:9080/MaxTradDownload/GetByteStream? > > > > guid=6486EDDFADDF7B7B8940B3159706C919D8DB0878B0F8EF60D59F34FC293306C1B1 > > > > 79B62F3F11E27D&ImageFormat=pdf&ImageSource=localhost&ext=filename.tif > > IOW, maybe the problem isn't just with IE displaying > PDF files, but > perhaps TIFF files as well. > > Web Maestro Clay > > On Apr 8, 2004, at 1:25 PM, Jerry wrote: > > Clay, > > > > Thank you for your info. > > > > My servlet can render static tiff image file to > PDF > > format. I already implemented that part. My IE 6.0 > can > > display it correctly. I guess something is wrong > with > > the way I passed the servlet URL to XSL file. I > just > > couldnot figure it out. > > > > thanks, > > > > > > Jerry > > --- Clay Leeds <[EMAIL PROTECTED]> wrote: > >> Jerry, > >> > >> I don't know if this'll help (apologies if it's a > >> wild goose chase), > >> but there's this info RE: IE-specific problems: > >> > >> http://xml.apache.org/fop/servlets.html#ie > >> > >> Perhaps something in there might help as a > >> workaround... > >> > >> Web Maestro Clay > >> > >> On Apr 8, 2004, at 12:34 PM, Jerry wrote: > >>> Jeremias, > >>> > >>> Still stuch by the issue of empty image url. > >> Before I > >>> pass the value of GetByteStreamServletURL to > XSL, > >> I > >>> printed it > >>> > >> > > > out(http://localhost:9080/MaxTradDownload/GetByteStream? > >> > >>> > >> > > > guid=6486EDDFADDF7B7B8940B3159706C919D8DB0878B0F8EF60D59F34FC293306C1B1 > >> > >>> > >> > > > 79B62F3F11E27D&ImageFormat=pdf&ImageSource=localhost). > >>> It looks fine. However, my XSL file always got > >> empty > >>> string. Do you have any idea about it? > >>> > >>> I also tried to use command line to test it > under > >> the > >>> lib dir of my working directory, I got error: > >>> > >>> java org.apache.xalan.xslt.Process -IN > >> DummyXML.xml > >>> -XSL Tiff2Pdf.xsl -OUT T > >>> iff2Pdf.fo -PARAM image > >>> > >> > > > http://localhost:9080/MaxTradDownload/GetByteStream?gui > >>> > >> > > > d=6486EDDFADDF7B7B8940B3159706C919D8DB0878B0F8EF60D59F34FC293306C1B179B > >> > >>> 62F3F11E2 > >>> 7D&ImageFormat=pdf&ImageSource=localhost > >>> Registry key 'Software\JavaSoft\Java Runtime > >>> Environment\CurrentVersion' > >>> has value '1.1', but '1.3' is required. > >>> Error: could not find java.dll > >>> Error: could not find Java 2 Runtime > Environment. > >>> 'ImageFormat' is not recognized as an internal > or > >>> external command, > >>> operable program or batch file. > >>> 'ImageSource' is not recognized as an internal > or > >>> external command, > >>> operable program or batch file. > >>> > >>> It tells me I need higher JRE version. I use > WSAD > >> 5.0. > >>> I checked my JRE version, it is 1.3.1. I do not > >> know > >>> why. I ran this from the lib dir of my working > >>> directory. I put xalan.jar, xml-apis.jar, and > >>> xercesImpl.jar in my lib directory and also set > up > >> the > >>> classpathes for them. > >>> > >>> Is there any other way which can help me out why > >> it > >>> passed an empty string? Please help. > >>> > >>> Jerry > >>> > >>> > >>> > >>> --- Jerry <[EMAIL PROTECTED]> wrote: > >>>> Jeremias and Clay, > >>>> > >>>> Thanks. I will work on the URL parameter first > to > >>>> check why it is empty even if I already set the > >>>> value > >>>> url as "http://...". > >>>> > >>>> If I still have a problem, I will check the > >>>> reference > >>>> you gave and use command line to test it. > >>>> > >>>> thanks, > >>>> > >>>> > >>>> Jerry > >>>> --- Jeremias Maerki <[EMAIL PROTECTED]> > >>>> wrote: > >>>>> > >>>>> On 08.04.2004 16:37:04 Jerry wrote: > >>>>>> Jeremias, > >>>>>> > >>>>>> thanks a lot for your input. > >>>>> > >>>>> You're welcome. > >>>>> > >>>>>> 1. > >>>>>> I set it into LEVEL_DEBUG and checked the > >>>> console. > >>>>> It > >>>>>> looks like it is image url path setting's > >>>> problem. > >>>>>> What does that mean by "no base directory is > >>>>>> specified"? > >>>>> > >>>>> The base directory is used to convert relative > >>>> URLs > >>>>> to absolute ones. > >>>>> See > >>>>> > >>>> > >>> > >> > > > http://xml.apache.org/fop/embedding.html#config-internal > >>>>> > >>>>> Example: > >>>>> Relative URL: images/myimage.tif > >>>>> Base URL (or dir): http://localhost:8080/ > >>>>> Resulting URL: > >>>>> http://localhost:8080/images/myimage.tif > >>>>> > >>>>>> I am wondering if the way or syntax I use > >>>>>> to set Image url vriable is right. > >>>>> > >>>>> Your intentions were totally alright, it's > just > >>>> that > >>>>> you set an empty > >>>>> String as URL. See me previous mail further > >> down. > >>>>> Looks like you missed > >>>>> my key comment. > >>>>> > === message truncated === __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
