It does? Doesn't that mean you have two distinct copies of f.txt? I thought that's what you were trying to avoid. Or are uf1 and uf2 aliases for the same directory? Or was your goal really to have one JSP that would work in w1 and w2?
On Mon, 2011-10-03 at 10:15 -0700, Léa Massiot wrote: > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
