The ptoblem is x:set / doesn't work .
xml file
<?xml version="1.0" encoding="UTF-8"?>
<person id='js890'>
</person>jsp code
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %>
<html>
<body>
<c:import var="xml" url="sample.xml"/>
<x:parse varDom="dom" xml="${xml}"/>
<x:set var="attrPersonId" select="string($dom/person/@id)"/>
cout=<c:out value="${attrPersonId}" /><br>
xout=<x:out select="$dom/person/@id"/>
</body>
</html>the output
cout=
xout=js890
So, why <x:set /> doesn't set the variable attrPersonId to js890?
The error is in XPath query
I should not have typed the root node.
The correct expression is
<x:set var="attrPersonId" select="string($dom/@id)"/>
Similar Messages
-
My new iPad air is asking for a pass code. I have only just finished restoring it via iTunes from my ipad2 and I didn't set one. The one I used before doesn't work. What can I do?
http://support.apple.com/kb/HT1212
-
Hi, can someone please tell me why the spell check in pages doesn't work. I went to preferences and enabled this auto spell checker and have set the language to british english. But still it doesn't work while it works perfectly in TextEdit.
Inspector > Text > More > Language
Only applies to selected text, like making it a particular font.
It is not a setting that sticks. If you continue to paste in text from elsewhere particularly the Internet it will have a different or None language set to it. You need to select it and make it B.E.
Peter -
I have set a passcode for my iphone and later I forgot it, and I tried it so many times but it was not correct now the iphone is disable it doesn't work in tune, can anyone solve this problem??
You can solve this problem. Just follow these instructions:
http://support.apple.com/kb/ht1212 -
The speaker of mu Iphone doesn't work anymore. I can only make a phonecall with my headset or on the speaker.
restore through itunes and set up as new
<Link Edited By Host> -
when I updated Facebook 6.7.0, It didyn't complete the updating and my Facebook doesn't work so I deleted it. What can I do now to downgrade it ?
If recovery mode did not work, try DFU mode, but don't use the latest backup to restore from after you have set it up "as new ipod" again.
DFU mode -
I have iphone 4s and can't send MMS. I contacted Sprint, they checked everything and it is fine. The advised me to contact Apple. I tried to reset all settings, shut down the iphone but still MMS doesn't work. Plz help!
Did you already try to set it up as new device?
How to back up your data and set up as a new device
iOS: Wi-Fi or Bluetooth settings grayed out or dim -
Getting rpm values from the fans on the MSI NEO2-FIR motherboard doesn't work
I currently have 6 Noctua NF-S12-1200 120mm fans spinning in my computer but i am unable to get rpm values from them except the cpu-fan. It doesn't work to get a readout from the others with either, BIOS, Dual Core Center or Speedfan. Regarding Speedfan is it true it don't support the SuperIO Chip on the Neo2, the FINTEK F71882F? It's not currently listed in their supported temperature sensors list.
So whats the problem? Shouldn't atleast DualCore Center atleast show the rpm's from the other chassis fans?
Or the fans don't support sensor readings?
Thanks!Quote from: Jack on 13-October-10, 00:15:36
Well, there is nothing that can be done about. SysFAN 1 & 4 support sensor readings, #2,#3 and #5 don't. You can also see that in BIOS Setup. #1 are the only ones that show up there (H/W Monitor section). This is not a malfunction or a bug. You have to live with no fan sensor readings or be creative about the wiring.
The problem is that i use the UNLA cables from Noctua which half the speed of the NF-S12 fans i run with. And it blocks the rpm readouts in Speedfan and BIOS.
http://www.noctua.at/main.php?show=productview&products_id=5&lng=en
Strange thing is that the CPU fan reads fine with the ULNA cable attached but the SYSFANS will not read the rpm with the ULNA cables.
What is wrong? -
I am from Brazil, and i have an iphone 5. Since it was purchased the 3G/4G data signal doesn't work. I made contact with people in Apple from Brazil and they told me I had to ask for your support to unlock the 3G/4G data signal. How do I have to proceed to unlock this feature in my iphone?
I would appreciate if you can help me.
Thanks!Greetings alex.bonifacio! I'm very sorry that you're having connection problems with your iPhone 5. While would love to help in any way I can, the device must at least be on an active line of service with Verizon Wireless in order for me to be able to make any changes. I must therefore urge you to contact your local wireless carrier for your equipment options. Good luck and thanks!
DionM_VZW
Follow us on Twitter @VZWSupport
If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!! -
Hello everybody,
I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?
I share one Itunes account with other people from my family and one person would like to keep the same songs on the new Ipod as the ones which were on the old one.
Thanks in advance for your answer.
YanHello Chris,
Thanks for your answer. I was hoping for an easier answer. Too bad there is no drag and drop solution, it would have been much easier.
Thanks for answering so fast.
Bye.
Yan -
How do i copy content from one hard rive to another through my macbook air? the copy and paste option doesn't work
It's because of the extension of the hard drive is a Windows extension ( most likely MSDOS or Ex-FAT), meaning you can only read but not write. If there are no important files (or you can copy the whole thing to your computer/mac) you can just reformat the hard drive and change the extension to NTFS (readable and writable on both windows and mac) or Mac OS Extended (readable and writable on Mac, readable on windows).
Go to DISK UTILITY
Choose the Hard Disk you intended
ERASE
You can choose either
(I personally prefer this one, you know just in case) -
The geo-fence in Reminders doesn't work on my 4S since ios7.
The geo-fence in Reminders doesn't work on my 4S since ios7. Any reminders I put in as remind me at a location do not work. Location services are turned on. Maps work fine & show my location. Reminders are turned on in location services & I see the symbol for the geo-fence in settings, but not at the top of my home screen. This always worked fine with ios6.
Try swiping down with two fingers. This solved my problem.
-
I´d like to export my iphotos "macbook pro". Everything worked fine when I installed impression for iphoto but when I installed impression 2 now I can´t export my photos. I´ve restarted the computer but still it doesn´t work.
Please can sombody help me with that?
Thank youAre you running Snow Leopard or Lion? Your info says Snow Leopard. If it's lion then:
In Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
Then you can locate the folders mentioned. -
Hello, I just got an iPhone 4S and it seems that the bluetooth function in it doesn't work. I tried few times to pair it to other non Apple phones but it never worked. Does anyone has an idea how to solve the problem? Tks.
This is not a feature of iPhone, iPad or iOS.
Bluetooth is supported for stereo headsets/speakers, handsfree telephone
devices/headsets, some keyboards, some peer-to-peer apps from the
app store and internet tethering where provided by the carrier.
Other than this it will not connect to a phone/computer/device. (thanks to ckuan for the wording) -
After update my iPad 2 with IOS 6.0.1 the botton mute and sound + doesn't work...any solution for this??? Thanks
There are numerous reports of this issue happening on iPhones. It may be a glitch that will need a new update. Some find that a full shut-down and restart fixes that problem, but not always.
Maybe you are looking for
-
Firewire External Enclosure very hot.
I am wondering if anyone else has a Serial ATA Seagate 200gb 7200rpm hard drive in a Firewire 800 external enclosure. Mine runs very hot in comparison to my IDE hard drives in the same OWC brand Firewire 800 enclosures. If this is abnormal I would li
-
Hi i bot an AT&T Samsung Galaxy Note 3 from the U. S. A. I unlocked is here in Bangladesh locally. Bt i cant use NFC neither i can use my phone as Hotspot. Also i m unable to receive updates for lollipop. Any suggestions for me how to solve my proble
-
Hi, I'm trying to learn JSP custom Tags. I'm using JDK 1.6 Eclipse 1.2.1 Tomcat 6.0 I have added the External JAR "servlet-api.jar" from Tomcat6.0/lib. I'm trying to create the following HelloWorldTag.java in a "Dynamic Web Project" in Eclipse in a p
-
Another glitch in script using Style Groups
Hello, Everythig was going fine till it started to get complex. I was hoping to adapt a script for cleaning up multiple character styles so that it would work with character styles in a style group, but I get an undefined variable error. Not quite su
-
[SOLVED] boot partition does not output on genfstab.
I have installed Arch Linux 5 or 6 times and even had desktop environments. This is a first for this to happen. I do not have a way to copy and paste so I cannot reproduce all code. I have 4 partitions. They are: /, home, boot, and swap. This is new