<!-- property name="alternatedocroot_1" value="from=/faces/*
dir=D:/images/thumbs" / -->
<property name="alternatedocroot_1" value="from=/facebook/*
dir=/opt/PBMG/stage/SONYBMGBUZZ/" />
</sun-web-app>
2> access the url : http://localhost:8080/facebook/thumbs/image.jpg
[2]
it will actually display you the image from the below unix
filesystem.
/opt/PBMG/stage/SONYBMGBUZZ/facebook/thumbs/image.jpg
3> Note : My web application web context root is / , i
access my webapplication as http://localhost:8080/ [3]
when in the url :
http://localhost:8080/facebook/thumbs/image.jpg [4] , when
facebook in url is found, facebook will be appended to
/opt/PBMG/stage/SONYBMGBUZZ/ . so final will look like
/opt/PBMG/stage/SONYBMGBUZZ/facebook/thumbs/image.jpg. THis will refer the
image resource.