click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r754742 - /incubator/click/trunk/click/framework/src/org/apache/click/ClickServlet.java
Date Sun, 15 Mar 2009 20:18:26 GMT
Author: sabob
Date: Sun Mar 15 20:18:26 2009
New Revision: 754742

URL: http://svn.apache.org/viewvc?rev=754742&view=rev
Log:
check if page is a jsp

Modified:
    incubator/click/trunk/click/framework/src/org/apache/click/ClickServlet.java

Modified: incubator/click/trunk/click/framework/src/org/apache/click/ClickServlet.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/ClickServlet.java?rev=754742&r1=754741&r2=754742&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/ClickServlet.java (original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/ClickServlet.java Sun Mar 15
20:18:26 2009
@@ -1686,7 +1686,7 @@
             String pagePath = page.getPath();
 
             // Check if request is a JSP page
-            if (configService.isJspPage(pagePath)) {
+            if (pagePath.endsWith(".jsp") || configService.isJspPage(pagePath)) {
                 // CLK-141. Set pagePath as the forward value.
                 page.setForward(StringUtils.replace(pagePath, ".htm", ".jsp"));
 



Mime
View raw message