  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | JSP - A mailing list about Java Server Pages specification and reference | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | ParserCallback closing tags automatically | ParserCallback closing tags automatically 2004-12-02 - By TBG
Back I'm using the HTMLEditorKit.ParserCallback to parse and format html but I am having problems with object implying that tags should be closed. ie. if a <FORM > tag isn't closed beform the next tag it'll close it automatically. How do I stop it doing this and just parse what it sees? Do I have to modify the IMPLIED object that is passed the attribute set, and how would I do that?
Thanks TBG
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=windows-1252 (See http://ows-1252.ora-code.com)"> <META content="MSHTML 6.00.2800.1106" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>I'm using the HTMLEditorKit.ParserCallback to parse and format html but I am having problems with object implying that tags should be closed. ie. if a <FORM> tag isn't closed beform the next tag it'll close it automatically. How do I stop it doing this and just parse what it sees ? Do I have to modify the IMPLIED object that is passed the attribute set, and how would I do that?</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Thanks</FONT></DIV> <DIV><FONT face=Arial size=2>TBG</FONT></DIV></BODY></HTML> =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <p>
|
|
 |