i'm not a beginner but i can't solve this problem :
I have a jsp which include my gwt script :
<meta name='gwt:module' content='org.yournamehere.Main=org.yournamehere.Main'>
When i launch the jsp via a <welcome-file>myjsp.jsp</welcome-file> in web.xml it's OK :
But when i declare a servlet in web.xml to launch the jsp, the jsp is launched but the gwt part is empty.
Could you help me? I google my issue and doesn't find anything...
Post by:Maneesh Godbole
Welcome to the Ranch.
Servlet to launch your JSP? I am not sure I understand. Can you show us your servlet code and web.xml mapping?
Post by:cedric cavrois
I've find the issue :
the inclusion of the script nocache.js doesn't work when a servlet is defined in web.xml with "/" mapping, i don't know why...
In web.xml i declare a welcome-file which is a jsp which redirect me toward a servlet with mapping "/home", so i have no more servlet with mapping "/" and its work normally.
Thanks for your responses.
All of life is a contant education - Eleanor Roosevelt. Tiny ad: