Monday, April 27, 2015

Re: Adding a local javascript to GWT

The script path has "Trust" but nothing else does.  Generally, this isn't a GWT problem.

Good luck!


On Monday, April 13, 2015 at 10:35:35 PM UTC-7, mohit wrote:
Hi I am trying to add a .js file https://code.google.com/p/geoxml3/#Basic_Usage to my GWT project.

I have made the entry in my host HTML:

<script type="text/javascript" src="../src/main/resources/Trust/geoxml3.js"></script>

I pasted the .js file in /src/main/resources/ and added it to my build path.

I am getting Error:
Failed to load resource: the server responded with a status of 404 (Not Found)       http://localhost:8080/src/main/resources/geoxml3.js

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment