473,396 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 4969
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. Specifically, the following HTML was not being...
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 of a new variable being passed, but rather just a...
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 installed on a linux-Mandrake 9.1. EXEMPLE: I...
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 is in there) and there the struggle starts. I...
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 1px border. The color changes upon hover. This...
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 Projects\WindowsApplication3\obj\Debug\WindowsApplication3.exe -u -y how do I...
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 problematic web server (wink2 Standard, 1.5GB of physical...
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 simple attributes like Name, Address etc Now,...
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 problem explained full with screen shots if any...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.