Skip to Main Content

Java Programming

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!

Parse and Modify the HTML file using Java

698065Mar 31 2011 — edited Apr 18 2011
Hello,

Can anybody have idea how to modify an HTML file using java code?

I have googled for it and even tried HTMLParser, jericho HTML Parser and few others.
The problem with few is the only allow to parse the HTML and as per my requirement i should able to modify the content.

I have got somewhat successful result with HTMLParser but i am not able to add dynamic HTML tag using this.

Please suggest.

Thank you very much.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 16 2011
Added on Mar 31 2011
12 comments
2,385 views