Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can JSP/Servlet parse HTML?

843836Aug 13 2003 — edited Aug 14 2003
Hi all

I am doing a seach stock symbol function, which retrieve the relative symbol from yahoo finance if user input the company name.

My structure is like this, I have a front end HTML form, which collect user input (company name). Ideally, I want to create a JSP/Servlet to get this company name parameter and search its stock symbol through a connection to yahoo finance.

My question is, Is it possible to use JSP/Servlet to exract data from a HTML document? If yes, what is the easiest way to retrieve data from the particlar table cells using JSP/Servlet? I know HTMLEditorKit() is quite useful when parsing HTML document, but I dont think I can use this kit in JSP/Servlet, am I right?

Many thanks
Kel
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 11 2003
Added on Aug 13 2003
3 comments
518 views