Today I contacted the maintainer of the BadResource.java file about the bug I found. Only a few minutes later my inbox contained an answer. He told me that he read about the bug on the mailinglist and that he has not responded because of lack of time. He will perhaps work on it later this week. If you need a fix by now you may simply remove the toString() method from BadResource.java or you may download my patched jar.
I was working on an ActionForm which has the property password. When I was testing the JSP view I wondered why the field always was filled although I never called the corresponding setter in the action. “Damn”, I thought. “Where does this stupid value come from?” I had no clue. Then suddenly a light flashed through my mind: Mozilla has a nice feature called “auto fill forms” ... oh my =)
java.io.FileNotFoundException: C:\java\jboss-3.2.1\...\jbossweb-jetty.sar\.\webdefault.xml is alias of C:\java\jboss-3.2.1\...\jbossweb-jetty.sar\webdefault.xml ...After digging into the sources I possibly found the bug in the toString() method of BadResource.java because the toString() method appends additional information to the original URL. The toString() method, however, is used by WebApplicationContext as the path to webdefault.xml.