Originally posted by Jaikiran Pai:
Try this. If that does not work then post the console logs. We have seen users earlier who have been able to get it working on 4.2.2. If the steps in that wiki does not work for you then we can point you to the appropriate forum links where this has been discussed earlier.
Thanks a ton for such a quick reply. I did the same thing and found that it's not working. But I was wrong. It did work but not the way it works in JBoss 4.0.4.
Say for eg. I mapped "C:\images" to "\myImages". Now, let's say the C:\images directory has "foo.jpg". Now, when I entered
http://localhost/myImages it din't work. It showed the usual 404 error page. Instead, when I tried
http://localhost/myImages/foo.jpg it works. But in JBoss 4.0.4 it shows the files inside the directory.
Although, it serves my purpose, I would like to know why this happens? Any thoughts?