File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes jstl and View data problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jstl and View data problem" Watch "jstl and View data problem" New topic

jstl and View data problem

hassan ali
Ranch Hand

Joined: Apr 23, 2006
Posts: 127

i am new in JSTL i have follow example in JSTL package but i can insert into DB but when try to retrive data i got empty Table
i am using jakarta-taglibs-standard-1.1.2

this my page
<sql:setDataSource var="example" driver="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost/test" user="root" password="123456"/>

<sql:transaction dataSource="${example}">

<sql:update var="update">
INSERT INTO user (email,password)VALUES ('sdasd@sdasd','asdsdasd')

<sql:query var="deejays">


///////////////////////////////this view nothing
<c:forEach var="Row" begin="0" items="${deejays.rowsByIndex}">

<td> <cut value="${deejays.rowsByIndex[0][0]}" /></td>



I agree. Here's the link:
subject: jstl and View data problem
It's not a secret anymore!