"Page not found" when a url ending with ".action" is entered
------------------------------------------------------------
Key: WW-2642
URL: https://issues.apache.org/struts/browse/WW-2642
Project: Struts 2
Issue Type: Bug
Components: Core Actions, Example Applications
Affects Versions: 2.1.2
Environment: Websphere V6.1
Reporter: S. Farshi
Priority: Critical
Looking at bug WW-2266 for struts 2.1.4, I get a similar error message [url not
found] but in a different way. I have deployed blank.war for struts 2.1.2 [with
basic form authentication enabled] under the context root ccol. Whenever I
enter:
https://localhost:9445/ccol/index.html
the page gets redirected to:
https://localhost:9445/ccol/example/HelloWorld.action
I can see the page and from within the same browser, I can type any existing
url that ends with ".action". However, if I open a new browser and then enter:
https://localhost:9445/ccol/example/HelloWorld.action
I would get "page not found" error. I uninstalled the application and then
deployed the blank.war for struts 2.0.11 and it works with no problem and I
never get the same error. I have been able to create the error consistently
over and over by repeating the above process. I would like to emphasize that
blank.war for struts 2.0.11 works perfectly fine. I created server dump for
struts 2.1.2 and below is the first few lines of the server dump:
[5/8/08 9:23:38:095 EDT] , key = java.io.FileNotFoundException
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest 573
Exception = java.io.FileNotFoundException
Source =
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest
probeid = 573
Stack Dump = java.io.FileNotFoundException: /example/HelloWorld.action
..............
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.