Emmanuele Sordini wrote:
In a "normal"
JSP page I just included the script file, e.g.:

<script language="Javascript" src="/scripts/OpenLayers/OpenLayers.js"/>

Many browsers have issues with this--you'll have better luck if you convert this to an (empty) container tag: <script language="Javascript" src="/scripts/OpenLayers/OpenLayers.js"></script>

The server doesn't control how the browser interprets the code it provides. If the browser isn't doing what you expect, make sure that the browser is receiving the instructions you expect it to receive. Look at the source of the page being displayed (which may differ from the DOM model that firebug shows as the DOM can get substantially changed from the original html code provided by the server). Make sure that the document base isn't redefined somewhere, and make sure that the paths you expect to be listed are what is being transmitted to the client.

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to