Yes, I just copied the static files into a directory in my project called "static", and then manually included all the files - basically copying the includes the <head> tag generates but changing the directory structure to point to my "static" directory (including the dojo default path javascript). It seems to work for most of the cases I tried.
I would think the files would be in the war somewhere, although I actually got the static files from the Struts2 source - I had to include a couple of different directories to fix all errors Firebug was complaining about. Alex Antony Stubbs wrote: > > Hi Alkira, > > Could you please elaborate on your fix? Did you manually install Dojo and > NiftyScript into the showcase war and publish it? > I can't find the /struts/ directory within the war that firebug is > reporting doesn't exist: > "Error 404: SRVE0190E: File not found: /struts/dojo/dojo.js" > > > alkira wrote: >> >> Hi Tapio, >> >> I just noticed your post after I posted mine the same day (so I took my >> post out). I got it working temporarily in my application by bringing >> in the static resources that are not found into my project and manually >> including the resources, but I am definitely looking forward to the fix. >> >> Thanks, >> >> Alex >> >> >> >> Tapio Holopainen wrote: >>> >>> Hi Alex, >>> >>> I think that you have same problem like me, take a look at -> >>> https://issues.apache.org/struts/browse/WW-1839 >>> >>> Regards, >>> >>> - Tapio >>> >>> >>> >>> ----- >>> >>> I am trying to get Struts2 running on top of Websphere 6.1 and I am >>> having >>> some issues with this. These issues also occur in the Struts2Showcase. >>> To >>> get it running, I am basically deploying the struts2-showcase-2.0.6.war >>> file >>> into the Websphere application server. The application starts up and >>> works, >>> however, when I try to run the autocomplete or some of the examples that >>> require Dojo, the Dojo part does not work. When I look into it, some of >>> the >>> static resources are not being found, such as CommonFunctions.js and >>> dojoRequire.js. Other ones however are found, like the dojo.js, so not >>> sure >>> if it is related to file size. >>> >>> I saw a JIRA issue WW-1526 related to this, and even tried to pull the >>> patched "FilterDispatcher.java" file into my project, however, it still >>> did >>> not work. I also tried the patch with the ServletLauncher contained in >>> the >>> Wiki and it did not work either. I even got the latest WebSphere patch >>> and >>> it is still the same. >>> >>> Has anyone run Struts2 Dojo example on Websphere 6.1, or know of a >>> solution >>> to this? I would like to avoid manually copying the static content >>> into >>> my >>> application if possible. >>> >>> Thanks! >>> >>> Alex >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/-S2--struts2-showcase-in-Websphere-6.1-not-picking-up-static-resources-tf3455643.html#a9640940 >>> Sent from the Struts - User mailing list archive at Nabble.com. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/Websphere-6.1%3A-Ajax-samples-in-struts2-showcase-2.0.6.war-doesn%27t-work-tf3452356.html#a9783844 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]