| Author |
display Data on JSP through Hibernate Criteria Query
|
Vinod Vinu
Ranch Hand
Joined: Aug 30, 2009
Posts: 217
|
|
Iam using criteria query to put SELECT clause. iam able to display data on console in eclipse from database.
Following is the Action Class:-
i want to display it on JSP. How can i achieve it
please help me
thanks in advance
|
Vinod Kumar Nair
"Any fool can write code that a computer can understan. Good programmers write code that humans can understand."
|
 |
Sean Clark
Rancher
Joined: Jul 15, 2009
Posts: 377
|
|
Hey,
Typically you would add your List to the request and then use JSTL tag library (or Strut's own taglib - I haven't really used Struts) to output the list into a table in the JSP.
You may also want to read up on EL in JSP.
Sean
|
I love this place!
|
 |
Nishan Patel
Ranch Hand
Joined: Sep 07, 2008
Posts: 676
|
|
If you want to display pagination with your list given by hibernate Criteria refer below link ..
Show List At Jsp
|
Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
|
 |
 |
|
|
subject: display Data on JSP through Hibernate Criteria Query
|
|
|