I understand how the query string works and I have the code cleaned up but,
If you use the following:
http://server:port/webappName/download.jsp?path=\&filename=test.png
it will ask to save download.jsp and not test.png
I have been reviewing and testing the code in thread695-824677 and have tested it with a page named test.jsp. When sending the info to test.jsp?filename=adam.xml it will ask me to save test.jsp and not adam.xml. Do anyone know of options to change what info is presented in the dialog box?
thx...
I and creating a online task list for work. Have everything working fine except when I display the results say on one user, I get he has done 12 tasks. (Meeting, Web, Course, Ticket, Ticket, Ticket, Web, Meeting, Meeting, Web, Course) each have a time amount for each task. But when I want it to...
I can assure you it is not an assignment. I and creating a online task list for work. Have everything working fine except when I display the results say on one user, I get he has done 12 tasks. (Meeting, Web, Course, Ticket, Ticket, Ticket, Web, Meeting, Meeting, Web, Course) each have a time...
I would like to count the # of instances of a string in a string to return a number. Is there a way to do this in XSL?
var adam=
adamsooleywasheretoaskaquestionaboutxmladamwouldlikearesponse
count(contains($var, "adam")
returns 2
In xsl i would like to create a variable
<xsl:variable name="adam" select="$adam, new"/>
this seems not to work for me. I am in a for-each loop and would like to keep adding the variable + text like in jsp when you can say
String a = "3";
a = a + "7";
a = a + "6";
a = a + "9"...
Have a xml doc like:
<home>
<tag>4</tag>
<tag>6</tag>
<tag>5</tag>
<tag>5</tag>
<tag>10</tag>
</home>
Is there a way to add the values in xsl to give me the total of tag? So it would output 30?
Adam
I am using DOM to read a xml file in JSP. I am using getElementsByTagName(). When I do this and want "a" I will get returned "This is a test" But I would like to read body and get all the elements, attributes and text. When I read "body" I get nothing returned. Anyone have any suggestions?
<art>...
I have a xml doc like:
<art>
<ele1/>
<ele2/>
<ele3/>
<ele4/>
<english>
<body><b color="red">This is a test</b></body>
</english>
</art>
I would like to read in the english tag into a string and keep all of the tags, elements and text. I am having problems. I can read in the <b> tag and all i...
I have a xml file like:
<article>
<name>test</name>
<english>
<hr />
<h2>What Others Say About Us</h2>
<p>Does the world know about us? Check out these places:</p>
</english>
<french>
<hr />
<h2>What Others Say About Us</h2>
<p>Does the world know about us? Check out these places:</p>...
I am having a problem.
Their are 2 servers on one physical box. A testing server (test.adam.ca) and a production server (www.adam.ca) my problem is when I include a xsl file into another xsl file i have to reference the full physical path to the file in order for the page to work. I do not want...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.