Hi,

I'm looking for something like Spring's ResourceServlet , a way to get
static JS files from packaged jar in lib/ directory of  my Tomcat
server. I'm using GWT-Ext and currently all ext-JS files are copied to
my GWT App WAR, so it becomes heavy.

I tried to write my own servlet, but it never seems  to intercept
script requests, at least in hosted mode.

E.g.
I map my servlet in *.gwt.xml as
<servlet class='....ResourceServlet' path='/resource/*"/>

And try to mention script in HTML:
<script type='...' src='resources/js/ext-all.js'/>

My servlet never gains control; looking at the log, everything is
managed by some "development shell servlet".
Is there a way to load JS files from a predefined JAR?

Thanks,
Andrey
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to