File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in Retrieving Data

 
N Nanda
Ranch Hand
Posts: 62
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello..

i am using MySQL database which is residing on another server and my development (struts stuffs) are on a separate machine. I have configured datasource in struts-config.xml file. I am trying to retrieve data from a table with following codes...

In my UserDAO class I have a method getAllUsers() which returns an ArrayList containing all users (I have a User bean). In my UserAction class I have called that method getAllUsers() and set its returning ArralyList in request scope. In my jsp page I am using display-tag to display the collected data. But it doesn't show any data.. The display-tag shows its default error message "Nothing Found To Display". Can anyone tell what could be the problem. Please.

Thank you all in advance

N. Nanda
 
Deli Dumrul
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a similar problem. The only difference is i don't get any error message but no display either.

I am not sure whether i installed display-tag properly. I don't include
<%@ taglib uri="/WEB-INF/displaytag-12.tld" prefix="display" %> in my jsp.. because when i include it, it causes an exception.. can you help me installing display tag.
 
Deli Dumrul
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, now i am having exactly the same problem, nothing found to display.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic