wood burning stoves*
The moose likes Beginning Java and the fly likes Trying to correct methods to create paths using a database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Trying to correct methods to create paths using a database" Watch "Trying to correct methods to create paths using a database" New topic
Author

Trying to correct methods to create paths using a database

Iain Emsley
Ranch Hand

Joined: Oct 11, 2007
Posts: 60
I've been trying to put together some code which creates a list of folders and then populates the folder with a name from a database but I have not been able to link the two items together (which will form the full path).

I'm trying to get add lists to call to DbListfind's getBDCalShortPath() method (below

This code then tries to use a DAO's getLists method to reach the database and return the list of names stored in it:

The code retrieves the list names and the first part of the script I'm working on builds most of the path but I've not been able to link both parts together and would be grateful for any advice on correcting the methods to pass the data across.
Francesco Bianchi
Ranch Hand

Joined: Jun 22, 2007
Posts: 62
Please,
be so nice to post indented code and, most of all, code which compiles (the first 2 lines cannot).


SCJP 5 & 6, SCWCD 5, SCBCD 5
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Trying to correct methods to create paths using a database
 
Similar Threads
Accessing variable from another method
performance issue in iterating through large list of result set
How to retrieve the data from the database and display it on a jsp using struts
JDBC/Oracle access problem
Placing results into an array list