Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JSP not able to marshal and unmarshal XML

9 views
Skip to first unread message

Kelly

unread,
Sep 1, 2004, 2:06:56 AM9/1/04
to

I set systemId = "/usr/local/tomcat/webapps/myTest.dts"; My standalone Java classe, say MyDTDtoXMLTester.java works perfect ok with
newMyXMLROOTObj.marshal(myCharArrayWriter, indent, encoding);

However, my JSP (using tomcat4) has problem with above marshal (Note my MyDTDtoXMLTester.java and my JSP are in the same system and using the same DTD.

Here is the error:
java.lang.NoSuchMethodError: org.jdom.Element.getMixedContent()Ljava/util/List;
at com.borland.xml.toolkit.Element.getChildObjects(Element.java:225)


Thanks in advance.

0 new messages