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.startSVGLoadEventDispatcher(Unknown
Source)
 at
org.apache.batik.swing.svg.AbstractJSVGComponent$SVGListener.gvtBuildCompleted(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-tf1978750.html#a5429294
Sent from the Batik - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to