SQL JSTL displat y the count .. cant figure out how please help......
Hi all,
I facing a problem in displaying the count total.. My situation is that I run below query ..
<sql:query var="jobs" dataSource="jdbc/test">
SELECT COUNT(*) FROM applications where employerid = '12345610' GROUP BY job_id
</sql:query>
<c:forEach var="row" items="${jobs.rows}">
<li> Count <span id="count"> [<c:out value="${row.??? )}]</span></li>
</c:forEach>
{code}
when I run the same sql in sql prompt it gives me 10 groups with relevant counts.
but I cant figure out how to do the same using JSTL sql. in simple terms I want to display the count of each logical group ? I have tried all I can wit my little knowledge on the subject..
I will appreciate if someone could help me out please..
Million Thanks in advance.
I found the answer my self... It took me just a 4 sleep to find the answer ,,, a break and a coup of coffee did the job
I chanced the code as below
SELECT COUNT(*) as cnt FROM applications where employerid = '12345610' GROUP BY job_id
</sql:query>
<c:forEach var="row" items="${jobs.rows}">
<li><a href="/test/servlet/Controller?param=Security">Security </a><span id="count">[<c:out value="${row.cnt }"/>]</span></li>
Similar Messages
-
How do I update the iCloud ID on my phone? I changed my ID on my laptop, but my iphone still has "sign in to iCloud" with the wrong ID and I cant figure out how to change it.
I have same question
-
i have an ipod touch and i put cds on itunes onmy computer , but i cant figure out how to put the music from the cds on my ipod touch can anyone help me?
ok i select th e music from my music libary and go to file and click sync to my ipod and when it gets to step 3.. it says waiting for changes to be made.. yes the songs play on the itunes .. and no it wasnt the same computer i used last time
-
My mini died. bought one used from a friend... all of my songs and books are on my iPhone, and I cant figure out how to get them onto this new computer. this is frustrating. the things i really want are purchases I've made from itunes store... help
!!!!!Hey kevyg3,
I was able to find an article that I believe will help you move your iTunes purchases from your iPhone over to your new computer:
iTunes Store: Transferring purchases from your iOS device or iPod to a computer
http://support.apple.com/kb/HT1848
Hope this helps,
David -
My ipod touch is disabled, i installed the latest version of itunes, but cant figure out how to restore the ipod, can anyone help?
If you run into the "another installation" message even after the reboot of the PC (which is an excellent idea by HTP ProXy), reregistering your Windows Installer Service is worth a try.
First, launch a command prompt as an administrator. In your Start search, type cmd then right-click on the cmd that comes up and select "Run as administrator".
At the command prompt:
Type %windir%\system32\msiexec.exe /unregister and hit enter.
Type %windir%\syswow64\msiexec.exe /unregister and hit enter.
Type %windir%\system32\msiexec.exe /regserver and hit enter.
Type %windir%\syswow64\msiexec.exe /regserver and hit enter.
Restart the PC and try another reinstalll. -
I purchased a song off of itunes and it said it downloaded successfully, but when i try to listen to that song it only plays 2 seconds of that song and i cant figure out how to download that song again. What can i do.
Delete it, click here, and follow the instructions.
(88741) -
i tried to sinc my photos and i ended up deleting off my phone all the pictures. i only ended up with one folder, and i cant figure out how to put rest of folders from my computer back on my phone.....help
and on a second problem. I need to know for sure that my contacts are backed up on my computerCreate a parent folder on your computer to store the named folders of photos that you want transferred to your iPhone. Under the Photos tab for your iPhone sync preferences with iTunes, select the parent folder. All named folders of photos within will be transferred to your iPhone as separate folders or albums.
Regarding your 2nd question, this should be easy. Your contacts should be available on your computer with or without an iPhone or any cell phone, which can be lost or stolen.
Although contacts are included with your iPhone's backup which is updated by iTunes as the first step during the iTunes sync process, not a good idea to depend on this either since the iPhone backup includes a significant amount of other data. Contacts are designed to be synced with a supported address book app on your computer. With Windoze, this can be with Outlook 2003, 2007, or 2010 along with syncing calendar events and notes, or with the address book app used by Outlook Express with XP and by Windows Mail with Vista and Windows 7 called Windows Contacts for syncing contacts only. -
I have a gen 3 ipod and can't get it into disk mode. In itunes it does not have the option and I cant figure out how to do it on the ipod touch itself. Any ideas?
Recovering your iTunes library from your iPod or iOS device: Apple Support Communities
-
I have an older mac and it wants me to update to itunes 10 but my mac is too old and I cant figure out how to disable the update so I can use the store.
If Software Update is offering the update then it would be compatible with your model. Unfortunately, you haven't provided us with any information on your hardware that would enable us to determine if it really is too old.
If you really wish to disable the update alert then the next time Software Update opens, select the update in the list then select "Ignore update" from SU's Update menu. -
I just downloaded the latest itunes and i cant figure out how to update my iphone apps on my computer now. I go to the toolbar on the top and press search for updates and it tells me that the latest version of itunes is already downloaded or that there are no updates available at this time. Previously, i would be able to go to the apps page on itunes and then press search for updates and then download all. Then I would sync with my phone and both phone and computer would be updated. Now I can only update on the phone and I know Im going to encounter where it tells me the info for downloading is too large to do it on your phone, hence my first question.....where do I go to update my apps on my computer????
While you're in itunes, with the leftside window open, click on Apps. Then, look across the top middle of your itunes screen. You will see several choices: All, Iphone/iPad Touch, Ipad, Ipod Games, List, and Updates.
Clicking on each of these gives you a different view.
When you select ALL you will see all of your apps. When you select Updates you sill see only the apps that need to be updated. When you are in Updates you will see the Update button in the lower right corner.
Hope this helps. -
i just got the iphone 4s and i cant figure out how to get siri to work it seems to be the old voice command. HELP!
Did you enable Siri in settings?
Settings > General > Siri > ON
If Siri is off, all you get when pressing the home button for 1 second is the old Voice Control. -
Im making a wedding video and cant figure out how to get the bridal music off my itunes and onto my computer.. Im using the windows movie maker
Marian,
Let's be clear on one thing here. The manual setting is an iPod setting, not an iTunes one. So, once you've set it to manual (and you appear to have done that correctly), then you can connect it to any number of computers without changing that setting.
"The grey thing occurs on one pc only"
This is the thing that I don't understand, if your iPod is set to manual, then it shouldn't happen on any computer. If you connect the iPod that is set to manual to this pc, and then click on it in the source listing, then you would be looking at the songs on the iPod, and they should not be greyed out. When you connect to the "other pc" under these same circumstances, they are not greyed out? -
I accidently rebooted my Ipod and now I cant figure out how to download my previously tunes.
mean the mac version or adobe? its the newest mac that's out right now and it's adobe 9 standard....does that answer your question?
-
I have my ipod shuffle plugged into a diffrent computer associated with it for ittunes, but i cant figure out how to maually manage my music without erasing all the songs already on my ipod shuffle... so how do i do that? I've done it before with my old ipod before it broke. I really need help with this!
I have my ipod shuffle plugged into a diffrent computer associated with it for ittunes, but i cant figure out how to maually manage my music without erasing all the songs already on my ipod shuffle... so how do i do that? I've done it before with my old ipod before it broke. I really need help with this!
-
I accidently closed the are where u add the webiste at the top and now i cant figure out how to unhide it so i can type in a different web address
In the menubar, Safari > View > Show Toolbar.
Regards,
Captfred
Maybe you are looking for
-
PLEASE HELP!! Cannot install latest version of iTunes!
I know there are loads of questions on a similar theme but I am completely NOT technical and I find them really hard to follow. I use Windows 7 and until now I have had no problems with iTunes. I was bought a new iPod Nano and I couldn't use it until
-
3.1.3 Backup file transfer to iPhone 4?
I'm planning on giving my iPhone 3GS to a family member when I upgrade to an iPhone 4. He doesn't want the iOS4 update on the phone. When I do my final backup on the phone, can that backup be transferred to my new iPhone 4 safely? So my basic questio
-
Account Detail error when processing: Invalid line in logic section: 7
Hi experts, I am getting the following error while processing account detail dimension: Invalid line in logic section:7. At the end, the process ends with the following error message: "Skip step of validating formulas because of the problem if expand
-
CcBPM: Raising Alert breaks transactional brackets!
Hi all! I am using the (since SP19 / SP12 or so) new functionality of explicitly setting the <b>transaction boundaries</b> for my ccBPMs - however during tests I found out that obviously everything works fine UNLESS you are trying to raise an ALERT v
-
How do you format a drive which doesn't show in finder
I have two Western Digital external hard drives which I have used on my iMac before. I am trying to use them for the first time since the Lion update and when I plug them in they light up but are not recognized by the computer. Is there a fix for th