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!

Convert HTML string to HTML component

843844Dec 12 2008 — edited Dec 15 2008
Hello everybody

I am developing an application using JBOSS Seam framework, where i need to create HTML as well as JSF controls dynamically and that too from a string. So can anyone tell me the way to convert HTML/JSF string to HTML component from server side.

String htmlString = "<table > ... </table>";
//let say
HtmlComponent htmlComponent = SomeConverter.parseStringToHtml(htmlString);



Thankx in advance
Aditya(Eddie)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 12 2009
Added on Dec 12 2008
8 comments
485 views