aspose file tools
The moose likes Groovy and the fly likes  Read a File and list the record from DB using Groovy Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Languages » Groovy
Reply Bookmark " Read a File and list the record from DB using Groovy" Watch " Read a File and list the record from DB using Groovy" New topic
Author

Read a File and list the record from DB using Groovy

s nar
Greenhorn

Joined: Sep 28, 2011
Posts: 1
This post has NOT been accepted by the mailing list yet.
I am using the following code to read a file and store it in a array and giving the array variable as a input to the query. but the query does not list any result. Please let me know what is wrong in the code.



Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15229

The first step is to properly format your code and place it in code tags so it is easier to read. I've taken care of that for you this time.

If you do this:



Is the value of ${a} what you expect it to be?
 
I agree. Here's the link: jrebel
 
subject: Read a File and list the record from DB using Groovy
 
Similar Threads
Problem with reading txt file into 2d array
Array problem.
How to use a JProgress Bar
JTable and getValueAt()
Critique Please