tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Léa Massiot <>
Subject Re: WebApps sharing uploaded files
Date Mon, 03 Oct 2011 17:15:53 GMT


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:when test="<a_test>">
		< a href="/w1/uf1/f.txt">Link 1</ a>
		< a href="/w2/uf2/f.txt">Link 2</ a>

Best regards,
View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message