Jay Ran

Greenhorn
+ Follow
since Feb 11, 2003
Merit badge: grant badges
For More
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
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jay Ran

Thank you for your help I have it working now and am working on adding the methods suggested as well.
Thanks again.
21 years ago
Hi there,
I can write java programs that will compile after 2 or 3 runs of the compiler cleaning up my syntax and miscapitalizations. My largest problem is that I have a horrible tendency to write very procedural java code. I understand the basics of OO and conceptually "dig it", but that little step of application eludes me.
I have a simple urlconnection that sends a reader to another class which is a simple parser, I thought I could put the parser in its own class file so that I could "reuse" it sometime in the future. I am not sure how to go about this. Here is one of my attempts.


and here is the parser, it fails in the urlconnector when I try to call RequestParser.

Thankyou.
*forgot to mention, RequestParser compiles fine, I run: java URLConnector "url" -classpath .
to include the current directory where the RequestParser.class resides.
[ February 11, 2003: Message edited by: Jeff Rand ]
[ February 11, 2003: Message edited by: Jeff Rand ]
21 years ago