Re: Problems with javascript files in Struts-based webapp

2009-02-24 Thread Dale Newfield
Emmanuele Sordini wrote: http://www.nabble.com/Loading-and-Calling-Java-Script-in-Struts-td20623678.html None of those suggestions help you? What is the jsp code you're writing? What is the path that the browser receives? I'm willing to bet that either you're not using the jstl version you

Re: Problems with javascript files in Struts-based webapp

2009-02-24 Thread Emmanuele Sordini
arranged in a complex directory structure. Rewriting the script URL is fine for the master include file ("OpenLayers.js"), but does not work for all the others it contains. Regards Emmanuele -- View this message in context: http://www.nabble.com/Problems-with-javascript-files-in-Struts-

Re: Problems with javascript files in Struts-based webapp

2009-02-23 Thread Dale Newfield
Emmanuele Sordini wrote: In a "normal" JSP page I just included the script file, e.g.: Many browsers have issues with this--you'll have better luck if you convert this to an (empty) container tag: src="/scripts/OpenLayers/OpenLayers.js"> The server doesn't control how the browser inter

Problems with javascript files in Struts-based webapp

the page or using the tag in the main page, but all my attempts have been unsuccessful so far. Any help on this issue will be highly valued: thank you very much in advance. Emmanuele Sordini -- View this message in context: http://www.nabble.com/Problems-with-javascript-files-in-Struts-based-weba