xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pankaj Malhan" <pankajmal...@hotmail.com>
Subject Re: Xalan in JSP
Date Sat, 17 Mar 2001 05:55:34 GMT
<P>Hi Chirdeep, </P>
<P>Problem here is that u the websever you r using have Jre that dosent surrprt his
method getLocalName() (in java.String class). u convert your jsp to an application and then
complie using JDK1.2 or higher u will able to get the result.</P>
<P>so for webserver you dowmload jre from sunsite and include to apppropiate path in
<DIV></DIV>&gt;From: Shane_Curcuru@lotus.com 
<DIV></DIV>&gt;Reply-To: general@xml.apache.org 
<DIV></DIV>&gt;To: generaL@xml.apache.org 
<DIV></DIV>&gt;CC: xalan-dev@xml.apache.org, chirdeep@excite.com 
<DIV></DIV>&gt;Subject: Re: Xalan in JSP: xalan-dev is appropriate place;
FAQ answer likely 
<DIV></DIV>&gt;Date: Fri, 16 Mar 2001 15:52:48 -0500 
<DIV></DIV>&gt;The proper place for questions like this is the xalan-dev@xml.apache.org

<DIV></DIV>&gt;list, where we'll be able to help you much more quickly. 
<DIV></DIV>&gt;This is likely a variant of http://xml.apache.org/xalan-j/faq.html#faq-8

<DIV></DIV>&gt;(although this FAQ needs to be updated, in progress) or 
<DIV></DIV>&gt;Check the actual classpath being used when your JSP is executing
(which may 
<DIV></DIV>&gt;well be different than when you run Xalan standalone) for other,
<DIV></DIV>&gt;copies of the org.w3c.dom included in files like jaxp.jar,
<DIV></DIV>&gt;xml.jar, crimson.jar which are in front of xalan.jar and xerces.jar
<DIV></DIV>&gt;remove them or put them after xalan/xerces. Note they may also
be in your 
<DIV></DIV>&gt;extensions directory if you're running JDK 1.2+ 
<DIV></DIV>&gt;- Shane 
<DIV></DIV>&gt;---- you Chirdeep Sharma <CHIRDEEP@EXCITE.COM>wrote ----

<DIV></DIV>&gt; &gt; I am having a problem using Xalan from a JSP. A JSP
passes XML string and 
<DIV></DIV>&gt; &gt; XSL 
<DIV></DIV>&gt; &gt; path to the transform routine and it gives an error:

<DIV></DIV>&gt; &gt; java.lang.NoSuchMethodError: java.lang.String 
<DIV></DIV>&gt; &gt; org.w3c.dom.Node.getLocalName() 
<DIV></DIV>&gt; &gt; void org.apache.xalan.transformer.TransformerImpl.run()log3:

<DIV></DIV>&gt; &gt; void java.lang.Thread.run()log3: 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt; The Same program works fine standalone using the
same calls. 

<DIV></DIV>&gt;In case of troubles, e-mail: webmaster@xml.apache.org 
<DIV></DIV>&gt;To unsubscribe, e-mail: general-unsubscribe@xml.apache.org

<DIV></DIV>&gt;For additional commands, e-mail: general-help@xml.apache.org

<DIV></DIV><br clear=all><hr>Get Your Private, Free E-mail from MSN
Hotmail at <a href="http://www.hotmail.com">http://www.hotmail.com</a>.<br></p></html>

In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org

View raw message