the workaround https://issues.apache.org/jira/browse/TAP5-222 is to override HTTPServletRequest getPath() method as
@Override public String getPath() { //Websphere returns the path in the getPathInfo() String path = request.getPathInfo(); //path == null so no Websphere if (path == null) { return super.getPath(); } //TODO find out if this is necessary if (path.length() == 0) { path = "/"; } HTH Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. ________________________________ > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: RE: 404 error in struts 2 blank helloworld example in RAD7 > Date: Fri, 17 Oct 2008 14:48:36 -0400 > > http://www-01.ibm.com/support/docview.wss?uid=swg1PK33090 > > if JSF cant locate a .JS there should not be any special algorithms or > manipulations to handle the 404 > The problem is with JSF not locating the .js file (even though the resource > is located by other means later on) > I'm going to ping the JSF folks to see if they have a fix .. > > anyone else? > Martin > ______________________________________________ > Disclaimer and confidentiality note > Everything in this e-mail and any attachments relates to the official > business of Sender. This transmission is of a confidential nature and Sender > does not endorse distribution to any party other than intended recipient. > Sender does not necessarily endorse content contained within this > transmission. > > >> Date: Fri, 17 Oct 2008 11:01:43 -0700 >> From: [EMAIL PROTECTED] >> Subject: Re: 404 error in struts 2 blank helloworld example in RAD7 >> To: user@struts.apache.org >> >>>>So, I do have a working configuration for tomcat5.5. Now for WebSphere/Rad7. >>>>WebSphere does not give an error message but does load the .jsp but just not >>>>the .action. This must be a websphere configuration issue or an issue with >>>>conflicting .jars. i'll continue to investigate. >> >> Before you run struts 2 on Websphere, make sure you set the following >> property through websphere admin console: >> >> Application servers> server1> Web container> Custom Properties> >> com.ibm.ws.webcontainer.invokefilterscompatibility == true >> >> My assumption is you are also running Struts 2.0.11.1 as my current project >> is based on this release, and I have not been experiencing any problems of >> any sort. Bear in mind if you are using struts 2.1.2 Beta version you may >> still experience problem running urls that end with .action directly from >> browser url address. I had this issue before 2.1.2 goes to beta and there is >> a JIRA still open for this. >> >> >> __________________________________________________ >> Do You Yahoo!? >> Tired of spam? Yahoo! Mail has the best spam protection around >> http://mail.yahoo.com >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > ________________________________ > Want to read Hotmail messages in Outlook? The Wordsmiths show you how. Learn > Now _________________________________________________________________ You live life beyond your PC. So now Windows goes beyond your PC. http://clk.atdmt.com/MRT/go/115298556/direct/01/