Hi List,

I'm currently developing a JSF-components which renders SVG-images:

        <svg:rasterizer         src="mySrc.svg"
                                                target="mytarget.png"
                                                type="PNG"
                                                styleClass="myCssClass"
                                                style="background-color:gray;"
                                                width="50"
                                                height="100"
                                                alt="alt text"
                                                allowZoom="true"
                                                allowVerticalResize="true"
                                                allowHorizontalResize="true"
        />

But of course I want to use relative paths for src and target. So I
need to add the full path to the webapplication to src and target. But
how can I obtain this information?

--
Mit freundlichen Grüßen / Greetings,
Hendrik Neumann; Ruhr-University of Bochum

Reply via email to