Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XSLT
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 13th, 2006, 04:41 AM
Authorized User
Join Date: May 2006
Location: banglore, karnataka, India.
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default img tag not loading

Hi i have a problem below is the code generated using an xsl
<img src="/contextName/servlet/chartservlet?type=1&graph=2" />

the xsl used is
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">

    <xsl:output method="html"/>

    <xsl:template match="/Root">
        <xsl:for-each select="Graphs">
            <xsl:for-each select="Graph">
                <img src="/contextName/servlet/chartservlet?type={GraphType}&graph={Image}" />

As u see i call a servlet which actually loads the image.

The first time my jsp page loads it works now the next time i try to change the values of the graph and submit to generate a new graph, the xsl loads the image tag but does not call the chartservlet. can u please tell me why this happens and how to solve it

Thanks a mil
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Img doesn't display peter2004 HTML Code Clinic 9 September 16th, 2009 08:20 PM
<img Tag problem> sen321x .NET Framework 2.0 1 October 30th, 2007 07:47 AM
HTML tag from C# or ASP.NET tag from javascript angshujit ASP.NET 2.0 Basics 3 February 16th, 2007 10:07 AM
img not refreshing austinf XSLT 1 June 13th, 2006 03:55 AM
Align IMG with text Snib HTML Code Clinic 12 April 8th, 2004 10:16 AM

All times are GMT -4. The time now is 05:36 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.