> Thanks for your answers, i try put next code into web.xml file:
> <!-- xml -->
> <system-property
> javax.xml.parsers.DocumentBuilderFactory="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/>
> <system-property
> javax.xml.parsers.SAXParserFactory="org.apache.xerces.jaxp.SAXParserFactoryImpl"/>
> <!--  xslt -->
> <system-property
> javax.xml.transform.TransformerFactory="org.apache.xalan.processor.TransformerFactoryImpl"/>
>
> but doesn't work, and put a jaxp.properties file into


What version of web.xml are you using?
I have read
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd
but found nothing about tag [system-property].

And, if your setting is correct in schema,
are you sure it is applied to system properties BEFORE the XSL error occurs?




If you want to change system-property, maybe you can try:
(1) add start-up options like [-DpropName=propValue] in command line
which start the web app server.

OR

(2) add a ServletContextListener to you web-app, make it get executed
before anything else.
and in method [contextInitialized] of this Listener, you can set
system-property as you want, by Java code

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to