anything stored under WEB-INF is invisible to the outside world, putting your script there will cause JBoss to respond with a 404.
Imagine me hitting your site with http://yoursite.com/WEB-INF/web.xml and then downloading your Servlet classes, not exactly what you want is it ;) Just put the GWT compiler output in the same directory as your JSP page and change the URL reference in the <script> tag and everything should work just fine! Cheers. //J Jawwad wrote: > Hi everyone, Ive just started GWT. I made some small modules using GWT > which seam to work fine with "shell" i.e. GWT's own browser in an html > file. It works properly and also performs all the required > functionality. > BUT when I try to run the same code on a jsp page it doesnt work at > all. Ive included the following line: > > <script language="javascript" src="/WEB-INF/com.gwt.Test/ > com.gwt.Test.nocache.js"></script> > (the file is present there) > But my jsp page isnt showing anything It just runs displaying "This is > a jsp page"(in IE 7) that ive written in the body of the page. > > Im using Eclipse 3.2 with MyEclipse 5.5 and JBoss 4.0. Can anybody > tell me what is the problem or what I am missing? And what is the way > to display GWT modules in a JSP using JBoss 4.0? > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
