Hy,
I work on an XSLT
stylesheet that uses java extens.
Launched throught a
'.bat' it transforms well : my class directory is added to the xalan class
path.
Launched with java,
in a jsp, How can I add the directory of my class to Xalan. It tells
me :
Erreur interne de
servlet:
javax.servlet.ServletException: For extension function, could not find method java.lang.String.modif([ExpressionContext,] #STRING). at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:460) at jsp.transfoFOP_22._jspService(transfoFOP_22.java:155) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574) at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at org.apache.tomcat.core.Handler.service(Handler.java:235) at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516) at java.lang.Thread.run(Thread.java:484) Raison principale: javax.xml.transform.TransformerException: For extension function, could not find method java.lang.String.modif([ExpressionContext,] #STRING). at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1269) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3070) at java.lang.Thread.run(Thread.java:484)
It is the same error as when with the '.bat' I didn't specify the directory of my class, and so it does not
recognize my method (should be from ModSVG and not String)
So How to specify to xalan, in a JSP , a director for a class ?
Could someone help ?
Thanks very much.
Rodolphe