[ https://issues.apache.org/jira/browse/WW-3601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13026218#comment-13026218 ]
Philip Luppens commented on WW-3601: ------------------------------------ I would vote for making the change - based on the principle of the least surprise. > 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 > Priority: Minor > Labels: 404-error, filename, request > 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