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 ]