iyangim, >Anybody know how can we handle SVG events in Web Server Page (JSP or ASP) with batik?
It is not clear from your question what it is you are trying to achieve. Are you using Batik client-side or server-side? What are you using Batik for, what events are you listening for in the SVG and what processing are you trying to invoke? Regards Philip Fennell -----Original Message----- From: iyangim [mailto:[EMAIL PROTECTED] Sent: 21 July 2006 07:57 To: [email protected] Subject: Event handling in JSP and ECMAscript error Dear all I have following problems Question 1. Anybody know how can we handle SVG events in Web Server Page (JSP or ASP) with batik? Any such sample will be helpful. Question 2. When I inserted ECMAscript code in the SVG file, my code generated following errors. Does anybody know why it occurred? Error: ============================ In popup windows SVG Error: org/mozilla/javascript/ContextAction ============================ In the console java.lang.NullPointerException at org.apache.batik.bridge.UpdateManager.<init>(Unknown Source) at org.apache.batik.swing.svg.AbstractJSVGComponent.startSVGLoadEventDispat cher(Unknown Source) at org.apache.batik.swing.svg.AbstractJSVGComponent$SVGListener.gvtBuildCom pleted(Unknown Source) at org.apache.batik.swing.svg.GVTTreeBuilder$2.dispatch(Unknown Source) at org.apache.batik.util.EventDispatcher.dispatchEvent(Unknown Source) at org.apache.batik.util.EventDispatcher.fireEvent(Unknown Source) at org.apache.batik.util.EventDispatcher$1.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) java.lang.NoClassDefFoundError: org/mozilla/javascript/ContextAction at org.apache.batik.script.rhino.RhinoInterpreterFactory.createInterpreter( Unknown Source) at org.apache.batik.script.InterpreterPool.createInterpreter(Unknown Source) at org.apache.batik.bridge.BridgeContext.getInterpreter(Unknown Source) at org.apache.batik.bridge.BaseScriptingEnvironment.getInterpreter(Unknown Source) at org.apache.batik.bridge.BaseScriptingEnvironment.loadScripts(Unknown Source) at org.apache.batik.bridge.UpdateManager.dispatchSVGLoadEvent(Unknown Source) at org.apache.batik.bridge.UpdateManager.dispatchSVGLoadEvent(Unknown Source) at org.apache.batik.swing.svg.SVGLoadEventDispatcher.run(Unknown Source) ============================ -- View this message in context: http://www.nabble.com/Event-handling-in-JSP-and-ECMAscript-error-tf19787 50.html#a5429294 Sent from the Batik - Users forum at Nabble.com. --------------------------------------------------------------------- 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]
