Java Mailing List Archive

http://www.junlu.com/

Google
Google
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
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
Thanks to all who replied :) A few thoughts and things to mentio

Thanks to all who replied :) A few thoughts and things to mentio

2007-07-07       - By Robin Kwek

 Back
Hi fellow members,

Thanks for all the help, it brightens my day :) Initially didn't expect the
replies to come fast but hey each one I have received is helpful and got me
thinking further.

The subclass technique is interesting, previously I was thinking I may have to
edit the source code and re-compile everything. I will work on this now.

Yup I'm using John Cowan's TagSoup and actually at the same time posted a
message on his mailing list. Got a reply from him that I need to work on JDOM
since JDOM wants the comments.

Current plan will be to allow the illegal comments to be read in and post
processing them since the exception cause my program to exit,

Regarding the exception, I will post it here, these are the 1st few lines:

Exception in thread "main" org.jdom.IllegalDataException: The data "- EBAY LOGO
<img src="/img/articles/ebay_icon.gif" width="77" height="68" border=0>!" is
not legal for a JDOM comment: Comment data cannot start with a hyphen..
       at org.jdom.Comment.setText(Comment.java:120)
       at org.jdom.Comment.<init>(Comment.java:86)
       at org.jdom.DefaultJDOMFactory.comment(DefaultJDOMFactory.java:105)
       at org.jdom.input.SAXHandler.comment(SAXHandler.java:839)

Regards,
Robin

Send instant messages to your online friends http://uk.messenger.yahoo.com
Hi fellow members,<br><br>Thanks for all the help, it brightens my day :)
Initially didn't expect the replies to come fast but hey each one I have
received is helpful and got me thinking further. <br><br>The subclass technique
is interesting, previously I was thinking I may have to edit the source code
and re-compile everything. I will work on this now.<br><br>Yup I'm using <tt>
<tt>John Cowan's TagSoup and actually at the same time posted a message on his
mailing list. Got a reply from him that I need to work on JDOM since JDOM wants
the comments.<br><br>Current plan will be to allow the illegal comments to be
read in and post processing them since the exception cause my program to exit,
<br><br>Regarding the exception, I will post it here, these are the 1st few
lines:<br><br>Exception in thread "main" org.jdom.IllegalDataException: The
data "- EBAY LOGO &lt;img src="/img/articles/ebay_icon.gif" width="77" height=
"68" border=0&gt;!" is not legal for a JDOM comment: Comment
data cannot start with a hyphen..<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
; at org.jdom.Comment.setText(Comment.java:120)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;&nbsp;&nbsp; at org.jdom.Comment.&lt;init&gt;(Comment.java:86)<br>&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.jdom.DefaultJDOMFactory.comment
(DefaultJDOMFactory.java:105)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.jdom.input.SAXHandler.comment(SAXHandler.java:839)<br><br>Regards,<br>Robin
<br></tt></tt><p>&#32;Send instant messages to your online friends http://uk
.messenger.yahoo.com
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.