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

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