Dan Grindstaff

Ranch Hand
+ Follow
since Sep 24, 2006
Merit badge: grant badges
For More
Cavite, Philippines
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
3
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dan Grindstaff

Hi All,

I have a multi if-else statement inside a REF CURSOR that is part of a packaged function. There are four possible conditions and two possible select statements within the four:



I have been asked to convert this to use an EXPLICIT CURSOR.  I would like to simplify this as such.  Any help is greatly appreciated.

Thank you
3 years ago
Thanks. Here is my code now:


I need a way to print the remaining alphabet after the letter chosen. Not sure how to do that.>
10 years ago
Hello, I am trying to grab a letter from an array of numbers (char) and printout the remaining characters. So user is prompted to type in a character and the program prints out the remaining numbers left in the alphabet array. The problem is, when the scanner reads 'next' it seems to make the char a String. Any ideas to prevent or get around this is greatly appreciated.

>
10 years ago
Hello, I have imported a sample project into eclipse and both JSPs have errors all over them. I would like some help, please, in getting the pages (and app) up and running. I am a beginner with JSP. Thanks.
10 years ago
JSP
Hello, I have the following code:

and I am not getting a run every 20 seconds as I have stipulated in the scheduler. Any ideas? Thanks.
It's Working! I am getting a parsed file full of wholesome csv goodness thanks to your help!

11 years ago
Ok I have removed the *.close() syntax just see if I can get a file written and now it is writing but the file is empty.
11 years ago
Thanks Jeff. OK I have looked at the javadoc for CSVReader again and it says it accepts Reader to construct so I dropped the FileReader and directly inserted my newReader so the code looks like this:

I'm getting this error:

11 years ago
Hi, here is the code with a Reader wrapping the input stream:


The error message at line 6, FileReader(newReader) gives the error The constructor FileReader(Reader) is undefined. The suggested fix is change type of newReader to String.
11 years ago
Hi, Ok I have corrected the i to capital I and even tried wrapping the reader before but still getting error.
11 years ago
Hi Tony, Is this more like what you are talking about?

I'm getting an error at the wrapper java.io cannot be resolved to a type.
11 years ago
Hi Tony, thanks for writing. Well all I have been able to come up with is combining the classes. I spoke with my super and yes indeed he wants a csv-free file at the end of the process on disk. But I know there has to be a way to pass the stream into the Reader directly but I am not seeing it.

11 years ago
Hi, no you are not misunderstanding you are spot on. I am trying to avoid intermediate files. I will try your suggestions now, Thanks.
11 years ago
Hello All, I have some code that will read a file from a URL and write it to disk. I then have some CSV parser code that can read and parse that file. I am trying to figure out a way to pass the file as a data object to the FileReader of the CSV pars3er code to avoid writing anything to disk. Any help is greatly appreciated! Here is the CSV code:

11 years ago