Tuesday, April 08, 2003

ParseHTTPArguments

I have been fiddling around with this bit of java to parse input from HTTP GETs and POSTs. The class parses either type of input into the same data structures that can then easily be pulled into documents in a Notes java agent. I am a very rusty coder, it is really a melange of a number of bits of found code glued together with a bit of guesswork.
ParseHTTPArguments.java is the parser class.
AlarmNew.java is a sample agent to give you an example of how the parser is called.

The original code came from one of QuickelSoft's java articles. See the one about CGIArgs - after you register.

No comments: