I have a kaptcha which i have to define in my web.xml as
<servlet-mapping>
<servlet-name>Kaptcha</servlet-name>
<url-pattern>/kaptcha.jpg</url-pattern>
</servlet-mapping>
In hosted mode where the module is inherited ( no explicit web.xml
definition ), code like
Image img = new Image("/kaptcha.jpg");
works fine. But when i deploy my app, the code will not work, but code
below works...
Image img = new Image("kaptcha.jpg");
I dont want to change code just for the app server build alone. Can
anybody help why this would happen ? Something to do with how the url
pattern is formed in hosted mode...any ideas ?
Thx
-- pady
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---