2007-05-13 Igor Zelmanovich <igorz@mainsoft.com>
authorIgor Zelmanovich <igorz@mono-cvs.ximian.com>
Sun, 13 May 2007 16:11:00 +0000 (16:11 -0000)
committerIgor Zelmanovich <igorz@mono-cvs.ximian.com>
Sun, 13 May 2007 16:11:00 +0000 (16:11 -0000)
* PageMapper.cs:
make it case sensitive if file system is case sensitive

svn path=/trunk/mcs/; revision=77321

mcs/class/System.Web/System.Web.J2EE/ChangeLog
mcs/class/System.Web/System.Web.J2EE/PageMapper.cs

index cfd62f085ad1c16b61600d9206d84a9b2fcf81e1..a97f637623a331df61f6474703e5cce56dbcad22 100644 (file)
@@ -1,3 +1,8 @@
+2007-05-13  Igor Zelmanovich <igorz@mainsoft.com>\r
+\r
+       * PageMapper.cs: \r
+       make it case sensitive if file system is case sensitive\r
+\r
 2007-01-04  Igor Zelmanovich <igorz@mainsoft.com>\r
 \r
        * PageMapper.cs: refactoring: \r
index 841fa7b8da68b29aacd871eb068e708fd7ac30fe..0917302cda2a7205e8ffa39fa328b0cfc4f1d14c 100644 (file)
@@ -439,6 +439,10 @@ namespace System.Web.J2EE
                }
                internal string GetTypeFromResources()
                {
+                       string phisicalPath = _context.Request.MapPath (_url);
+                       if (!File.Exists (phisicalPath))
+                               return null;
+
                        string typeName = null;
 
                        //if the desciptor exists in the war - get the type