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

Accessing data from database

 
Tushar Fender
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want access data from database in jsp file & i want print these data in table format.its urgent
 
Bosun Bello
Ranch Hand
Posts: 1510
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you done so far? Have you heard of MVC? Have a servlet/controller call a class(the model) that will retrieve the data, then then the controller will forward it to the jsp to display it. Hope you get the idea.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a very common scenario in a Struts application. Since you posted this in the Struts forum, I'm assuming you want to do this within the Struts framework. If so, the best way to start is by working through one of the many good tutorials available. Here is a list of some good ones.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic