heli desai wrote:
Can anyone help me? I m trying to load the image
(jpeg) in pdf using dynamic url of servlet.But somehow
FOP ignores the URL. It doesn't show any url.
I m using
<fo:external-graphics
src="http://localhost:7001/crisp/servlet/BinaryServlet/QueryId=55100&SequenceNo=1&MimeType=jpeg
There can be any number of reasons for this, the most likely
ones involve problems retrieving the content due to spelling
errors in the URL, access restrictions or server misconfigurations.
1. If you point a browser to the URL, is the expected image
shown?
2. If you download content from the URL into a file using a
command line utility like wget, does the file contain the
expected image? Wget will also show you the MIME type it
got from the server, which should be image/jpeg.
3. Have a look into the server logs. Are there any problems
mentioned for the access to the URL?
4. Does your servlet container expect the user agent to set
a cookie?
5. Did you set up any access restrictions?
6. Is the servlet sensitive to the user agent or other HTTP
headers?
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]