sorry to bother you again but I got a new problem... this time I tried to handle an XML and an XSL file with the DAM control.
My JSP code is the following: [code]<%@ taglib prefix="cms" uri="cms-taglib" %> <%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml_rt" %> <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %> <cms:editBar /> <cms:out nodeDataName="xmlSourceDmsUUID" uuidToLinkRepository="dms" uuidToLink="absolute" var="xmlUrl"/> <c:import url="${pageContext.request.contextPath}${xmlUrl}" var="inputDoc" /> <cms:out nodeDataName="xslSourceDmsUUID" uuidToLinkRepository="dms" uuidToLink="absolute" var="xslUrl"/> <c:import url="${pageContext.request.contextPath}${xslUrl}" var="stylesheet" /> <x:transform xml="${inputDoc}" xslt="${stylesheet}"> </x:transform>[/code] I uploaded two test files in the DMS which are successful accessible under http://[server]:8080/magnoliaAuthor/dms/XSLT/xsltest.xsl and http://[server]:8080/magnoliaAuthor/dms/XSLT/xmltest.xml But when I run the script, I get the Tomcat Error: [code]HTTP Status 404 - /magnoliaAuthor/magnoliaAuthor/dms/XSLT/xsltest.xsl type Status report message /magnoliaAuthor/magnoliaAuthor/dms/XSLT/xsltest.xsl description The requested resource (/magnoliaAuthor/magnoliaAuthor/dms/XSLT/xsltest.xsl) is not available. Apache Tomcat/6.0.32[/code] You see: There's written /magnoliaAuthor/magnoliaAuthor/dms... But the same code is working fine with the images earlier...and <c:import url="${xmlUrl}"...> only doesn't work either even though the returned path contains one /magnoliaAuthor only. I testes the XSLT-JSP code outside of Magnolia successfully. Hope you can help me again....thank you! -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=35c62a29-777c-4787-93c9-5215b7823acd ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
