jQuery in Action, 2nd edition*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Groovy
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
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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?


GenRocket - Experts at Building Test Data
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Read a File and list the record from DB using Groovy
 
Similar Threads
How to use a JProgress Bar
JTable and getValueAt()
Array problem.
Problem with reading txt file into 2d array
Critique Please