on 11-15-2006 5:01 PM
Hi All,
I want to read value of an variable from some web page in web dynpro for Java. For e.g. from the webpage "https://www.bankofamerica.com/index.jsp", I want to read the text "Enter Online ID:". This is possible in EP using the class "ParserVisitor" wherein we can read the HTML source code of the page and then parse it...see blog "/people/prakash.singh4/blog/2005/08/25/how-to-parse-html-content-from-websites-using-java-api-deliverd-by-sap-portal
I want to do the same thing in WD for Java....
Can anyone PLEASEEEE help me out URGENTLY?????????????????
Thanks...
Aditya
Hi Aditya,
Go to http://jakarta.apache.org/site/downloads/downloads_commons-httpclient.cgi
you can download the sourcecode and there were some sample examples also.
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You could use the HTTP client library at http://jakarta.apache.org/commons/httpclient/ to get hold of the HTML for the page you are interested in, and then use one of the HTML parsing libraries at http://www.java-source.net/open-source/html-parsers to parse the page and get the information you need.
Regards,
Darren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.