i have a problem when i want to extract specific data into java scrip page. this code imports all data
<vezbanje_sql_taglib:query var="news" dataSource="jdbcdbc:sajtic">SELECT * FROM country INNER JOIN news ON country.country_id = news.country_id;</vezbanje_sql_taglib:query>
<vezbanje_core_taglib:forEach var="news" items = "${news.rows}">
<tr>
<td align="center">${news.news}</td>
</tr>
</vezbanje_core_taglib:forEach>
but i want to import specific data based in it's country_id for example country_id 1, does anybody knows how i could do that?
for reward i am giving receipt for my girlfriends famous pancakes, believe me they are the best pancakes in the world :eating:
<vezbanje_sql_taglib:query var="news" dataSource="jdbcdbc:sajtic">SELECT * FROM country INNER JOIN news ON country.country_id = news.country_id;</vezbanje_sql_taglib:query>
<vezbanje_core_taglib:forEach var="news" items = "${news.rows}">
<tr>
<td align="center">${news.news}</td>
</tr>
</vezbanje_core_taglib:forEach>
but i want to import specific data based in it's country_id for example country_id 1, does anybody knows how i could do that?
for reward i am giving receipt for my girlfriends famous pancakes, believe me they are the best pancakes in the world :eating: