Yes, It works. I wrote the src attribute of my <img> tag like this: <img src="/mywebapp/img/par_img/mypic.jpg" /> and it doesn't work. I rewrote it like this <img src="/img/par_img/mypic.jpg" /> and it works well ... !
Thanks ----- Original Message ----- From: "Remy Maucherat" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, February 16, 2004 4:04 PM Subject: Re: Tomcat 5.0.18 and symLinks > Guy Kaisin wrote: > > > Does anybody knows if the attribute for the Context (server.xml) is now working? > > I've try to use symlink in my webapp but is seams that it is not working. > > Here is my definition: > > > > server.xml > > --------------------------- > > > > <Context path="" docBase="mywebapp" allowLinking="true" /> > > > > > > And my webapp is like this: > > > > ..../mywebapps/img/par_imgs > > > > Where par_imgs is a symLink to /usr/graphics/par_imgs/ > > I store imgaes in this directory, but none are displayed in my browser. > > > > Does anybody knows how to solve this? > > Yes, this should work. (don't tell me it doesn't, I did trace this in > the file access implementation class ;) ) > > You can also use <DefaultContext allowLinking="true" /> as well. But the > best is to not use linking. > And, as a reminder, never use allowLinking on Windows. > > -- > xxxxxxxxxxxxxxxxxxxxxxxxx > R�my Maucherat > Developer & Consultant > JBoss Group (Europe) S�RL > xxxxxxxxxxxxxxxxxxxxxxxxx > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
