[ https://issues.apache.org/jira/browse/WW-3601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038524#comment-13038524 ]
Hudson commented on WW-3601: ---------------------------- Integrated in Struts2 #302 (See [https://builds.apache.org/hudson/job/Struts2/302/]) WW-3601 - switches to /struts/ and /static/ patterns instead of /struts and /static to handle static content lukaszlenart : Files : * /struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/DefaultStaticContentLoader.java > Files starting with "struts" (e.g., "struts.jsp") give 404 > ---------------------------------------------------------- > > Key: WW-3601 > URL: https://issues.apache.org/jira/browse/WW-3601 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.0.0, 2.1.8, 2.2.1.1 > Environment: Operating System:Windows 7 > JDK-version:1.6 > Tomcat-version:7.0.6 > Reporter: Li Hao Su > Assignee: Lukasz Lenart > Priority: Minor > Labels: 404-error, filename, request > Fix For: 2.3 > > Attachments: WW-3601.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > I hope I can explain this bug clear. Forgive me my poor English. > When I make a file, the filename likes 'struts.jsp', I request this page in > my IE, for example 'http://localhost/struts.jsp', it tells me a 404-error. > Then I changed the name to '123struts.jsp', request again, I got the page. > But if I named the page 'struts123.jsp', it'll give me the 404-error again. > I also tried to change the suffix, like 'struts.html', while it's happened > again, even though I changed the name like 'struts.txt'. > This bug has occurred in Struts2.0.0, 2.1.8 and 2.2.1.1. > Of couse, if I do not use the Struts2, this bug disappeared. > Thanks. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira