472,333 Members | 2,602 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,333 software developers and data experts.

problem external graphic && URL with parameters

Hi,
I have problem to create a well formed xsl-fo document using images
dynamically generated from an http request

using this tag:
<fo:external-graphic content-type="content-type:image/gif"
src="controller.jsp?page=test&mode=image" />

doesn't work (it says a ';' is missing)
the controller.jsp is sending a gif image to the browser and is
working fine when called from simple html
everithing works fine like this:
<fo:external-graphic content-type="content-type:image/gif"
src="mydomain.com/image.gif" />
any idea?
thanks in advance
Jul 20 '05 #1
2 4909
curwen wrote:
Hi,
I have problem to create a well formed xsl-fo document using images
dynamically generated from an http request

using this tag:
<fo:external-graphic content-type="content-type:image/gif"
src="controller.jsp?page=test&mode=image" />

doesn't work (it says a ';' is missing)
the controller.jsp is sending a gif image to the browser and is
working fine when called from simple html
everithing works fine like this:
<fo:external-graphic content-type="content-type:image/gif"
src="mydomain.com/image.gif" />
any idea?
thanks in advance


hi,

remember that fo is xml
thus, & must be escaped unless it introduces an entity that ends with ;

src="controller.jsp?page=test&amp;mode=image"

--
Cordialement,

///
(. .)
-----ooO--(_)--Ooo-----
| Philippe Poulard |
-----------------------

Jul 20 '05 #2
many thanks!
I guess what you're thinking: 'what a newby'

Philippe Poulard <Ph**************@sophia.inria.fr> wrote in message news:<bk**********@news-sop.inria.fr>...
curwen wrote:
Hi,
I have problem to create a well formed xsl-fo document using images
dynamically generated from an http request

using this tag:
<fo:external-graphic content-type="content-type:image/gif"
src="controller.jsp?page=test&mode=image" />

doesn't work (it says a ';' is missing)
the controller.jsp is sending a gif image to the browser and is
working fine when called from simple html
everithing works fine like this:
<fo:external-graphic content-type="content-type:image/gif"
src="mydomain.com/image.gif" />
any idea?
thanks in advance


hi,

remember that fo is xml
thus, & must be escaped unless it introduces an entity that ends with ;

src="controller.jsp?page=test&amp;mode=image"

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: C. Titus Brown | last post by:
Hi all, while playing with PBP/mechanize/ClientForm, I ran into a problem with the way htmllib.HTMLParser was handling encoded tag attributes. ...
1
by: Travis Pupkin | last post by:
How do you handle an ampersand (&) if it appears as part of the string in a querystring? Is there a way to tell the server it is not the beginning...
4
by: Jan Bols | last post by:
Whenever I execute TRIM(' ')in a stored procedure or trigger, I get an ORA-03113 error. I have an oracle db 8.1.7.0.1 Enterprise edition...
4
by: Thomas | last post by:
Hi there, I have an iframe which is editable (designMode = "on") and want to resize it dynamically as the content grows (e.g. more lines of text...
6
by: Thresh | last post by:
Hi all, two problems that I've been wrestling with: 1) I've got some images on a site that are links. I've got them set for 2px of padding, and a...
1
by: Webgour | last post by:
How does one send and catch external parameters to windows application. if i have D:\My Documents\Visual Studio...
1
by: Teemu Keiski | last post by:
Hi, I have following type of scenario (also explained here http://blogs.aspadvice.com/joteke/archive/2005/01/10/2196.aspx ) We have...
2
by: Kalpesh | last post by:
Hello, I am facing a design problem here & need your expert design advice on this. Scenario: I have a class called Vendor - which has several...
2
by: dixonjm | last post by:
I have quite a complicated problem with the above. I will do my best to explain, although I have a word doc (too large to attach here 149KB) with the...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.