Hello,

I solved my problem:
1) in WebApp "w1", upload files to the directory "w1\uf1\",
2) in WebApp "w2", upload files to the directory "w1\uf2\",
3) then you can have the same JSP "foo.jsp" for both WebApps.
Put one JSP in "w1" and another one in "w2".
The JSP itself contains a switch:
--------------------------------------------------------
<c:choose>
        <c:when test="<a_test>">
                < a href="/w1/uf1/f.txt">Link 1</ a>
        </c:when>
        <c:otherwise>
                < a href="/w2/uf2/f.txt">Link 2</ a>
        </c:otherwise>
</c:choose>
--------------------------------------------------------

Best regards,
--
Léa
-- 
View this message in context: 
http://old.nabble.com/WebApps-sharing-uploaded-files-tp32570911p32583746.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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

Reply via email to