Praveen Nayak wrote: > > Hi, > > > > I have built the batik-all.jar and created an applet around it. I > have hosted it on an IIS Web server, by embedding the applet inside a > web page. > > > > Now, the references I have given in the applet tag are the following: > > > > > > "batik-all.jar,xerces_2_5_0.jar,js.jar,xml-apis.jar,xml-apis-ext.jar" > > > > > > When the page is downloaded by the client, the image comes up alright. > But there was one problem I noticed. The applet starts sending > requests to the server. These requests come by the hundreds. > > The server doesn't have these classes and returns HTTP 401 error. > > > > > > The requests were for classes like the following: > > > > /org/w3c/dom/DeleteList.class > > /java/lang/PieTotalSize.class > > /org/w3c/dom/smil/PieTotalSize.class > > > > There were more classes as well. > > > > I searched around and couldn't find the classes among the Jars > required for Batik. > > > > I have attached the applet also if that helps. > > > > It looks to me that the calls are because of the lines: > > > > > canvas.setDocumentState(JSVGCanvas.ALWAYS_DYNAMIC); > > canvas.setDocument(doc); > > > > > > Can you tell me if there is something wrong? > The missing class files do not belong to Batik itself. It seems to me, that the svg file you are trying to load uses some ECMAScript/Javascript features and therefore references to those classes. So I guess you should have a look at that location where you find the SVG image.
Regards, Steffen > > > > Also, > > Please let me know if there is some more information I can provide. > > > > > > Thanks, > > Praveen > > -------------------------------------------------------------------------------- > *Telelogic Lifecycle Solutions: > ** Helping You Define, Design & Deliver Advanced Systems & Software > Learn More at **www.telelogic.com* <http://www.telelogic.com/> > > > Praveen Nayak > Technical Leader > Telelogic India Pvt Ltd > #58, 1- 4 HM Towers, > Brigade Road, > 560 025 Bangalore > India > > Phone: +91 (80) 419 95800 Ext 327 > Fax: > Mobile phone: > > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > http://www.telelogic.com <http://www.telelogic.com/> > > * > **Telelogic - Requirements-Driven Innovation! > ------------------------------------------------------------- * > > > The information contained in this e-mail, including any attachment or > enclosure, is intended only for the person or entity to which it is > addressed and may contain confidential material. Any unauthorized use, > review, retransmissions, dissemination, copying or other use of this > information by persons or entities other than the intended recipient > is prohibited. > > ------------------------------------------------------------------------ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
