473,568 Members | 3,038 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.c om/image.gif" />
any idea?
thanks in advance
Jul 20 '05 #1
2 4983
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.c om/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.c om/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
1980
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 handled correctly: <option value="Small (6&quot;)">Small (6)</option> The 'value' attr was being given the escaped value, not the
1
1348
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 part of the string value? Thanks
4
11635
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 created the function IS_NULL which returns 1 or 0 if the parameter is empty or not:
4
7602
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 fill the iframe with content (<body> tag and so on and also insert a <div> tag, inbetween is the content that should be modified). Now if the...
6
8049
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 works fine in IE v6 (amazingly), but it doesn't work correctly in Mozilla v1.7! It's getting the left and right padding correct, but the top padding...
1
1552
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 catch these values in my application. Thanks in advance.Oliver.
1
2250
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 memory, SQL 2000 in same box, framework 1.0 and 1.1 installed, apps use mainly 1.0) whose aspnet_wp.exe's memory consumption increases slowly but...
2
1412
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, each vendor has some attributes - which are not "simple" Basically, they can be an instance of another class
2
4743
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 kind person would like me to email this link too I can do... My Grid View consists of 4 cols:- 1 - ItemTemplate (checkbox) 2 - imageField 3 -...
0
7692
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7601
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8117
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7659
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7962
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6274
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2099
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.