Hassan, Agreed. Just doesn't work.
Hassan Schroeder-2 wrote: > > On Tue, Sep 15, 2009 at 1:48 AM, paulbrickell > <paul.brick...@evolvedintelligence.com> wrote: >> >> Does anyone know how to use the import tag to access dynamic content from >> the >> current context? > >> I found this... >> >> <c:set var="xmlURL" >> value="${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}/x/y/z"/> >> <c:import url="${xmlURL}" var="xml" /> >> >> and it works. But I cannot believe this is the right way to it. > > <c:url var="xmlURL" value="/x/y/z"/> > > would be easier :-) > > -- > Hassan Schroeder ------------------------ hassan.schroe...@gmail.com > twitter: @hassan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: taglibs-user-unsubscr...@jakarta.apache.org > For additional commands, e-mail: taglibs-user-h...@jakarta.apache.org > > > -- View this message in context: http://www.nabble.com/import-tag-for-dynamic-content-tp25450335p25467489.html Sent from the Taglibs - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: taglibs-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: taglibs-user-h...@jakarta.apache.org