[英]Jeuclid drops parts while running as servlet
I try to use jeuclid as servlet. 我尝试将jeuclid用作servlet。 For that reason I use the net.sourceforge.jeuclid.converter.Converter
因此,我使用net.sourceforge.jeuclid.converter.Converter
MutableLayoutContext ctx = new LayoutContextImpl(
LayoutContextImpl.getDefaultLayoutContext());
Converter converter = Converter.getInstance();
converter.convert(new File(argsList.get("input")[0]),
new File(argsList.get("output")[0]), Converter.TYPE_SVG, ctx);
… …
But in these 3 files you can see that some parts are dropped. 但是在这3个文件中,您可以看到某些部分已删除。
Source: http://www.samea.de/math/source.mml 资料来源: http : //www.samea.de/math/source.mml
Expected: http://www.samea.de/math/expected.svg (done with the mml2xxx batch) 预期: http : //www.samea.de/math/expected.svg (使用mml2xxx批处理完成)
Result: http://www.samea.de/math/result.svg (done with the code above) 结果: http : //www.samea.de/math/result.svg (使用上面的代码完成)
So what did I wrong? 那我错了什么? Are there some parameters to set?
是否需要设置一些参数? Thanks for your help
谢谢你的帮助
Kind regards 亲切的问候
Markus 马库斯
at least I found out it was the version of jetty. 至少我发现那是码头的版本。 So I switched from Jetty9 to Jetty8.
所以我从Jetty9切换到Jetty8。
bye Markus 再见马库斯
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.