Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!

Tracy Williams

Greenhorn
+ Follow
since Dec 04, 2002
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 Tracy Williams

Thanks for your reply! I'll let you know what happens.
Tracy
17 years ago
Hi Khurram,
I recently used HTML-Tunneling for my applet. Source code that helped:
http://archive.corewebprogramming.com/
Also, the book "Core Web Programming" is worth the money. Hope this helps.
Tracy
17 years ago
Hi all,
I have an applet that is currently executing a PERL script on the applet's host machine. The PERL script runs a SQL query against our MySQL database and returns the results over HTTP.
The results are URL Encoded, something like:
param1=value1,¶m2=value2...
I am currently investigating how to parse the returning results. I would rather use an existing class to do this.
There is a class "HTTPRequest" (getParameter method), but it seems to be only available if you are creating a servlet.
My questions are:
1. How do I use this class if I am not creating a servlet?
2. Does anyone know of any other HTTP-parser-type class that I could use?
3. Is there a better way to do this? It bothers me that I will not be able to understand the order of the results or which parameter is being passed without some extensive logic.
Thanks in advance.
Tracy Williams
17 years ago
Hi there,
I am writing logic to extract information from an HTML file. I need to determine the number of times (frequency) a certain word appears in:
o the HTML document
o between the <TITLE> tags of document
o between the <META> tags of document
I have 3 questions:
1. What existing java libraries would be most effective in extracting the data?
2. Is the "Boyer-Moore" java pattern helpful here?
3. Would I be better off trying to write this in python?
(I've found a method off the String module (count) that would help accomplish this in Python...I'm not sure which language would be the most effective for solving this problem.)
Thanks in advance!
Tracy
17 years ago