Thank you. I'll try in this way. Best regards.
On 15 sep, 10:36, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote: > Anais schrieb: > > > * [WARN] Resource not found: BaseMap.1.png; (could a file be missing > > from the public path or a <servlet> tag misconfigured in module > > com.sp.gwt.EVITAWeb.gwt.xml ?) > > > BaseMap.1.png is the name of the image. I've shown that this file is > > created in the root directory of my project. > > > What's is the problem? > > Read the warning again. The image must be placed into the > public-directory of your project. But this should be > considered "bad style". When you put that into production > you will end up with thousands of images being created or > (if you keep the same filename all the time) parallel > users will see the same image. > > You can define a second servlet (or overwrite the doGet- > method in the RemoteService-servlet you already imple- > mented and call the servlet to deliver the image. The > image itself can be put into the session-object. The > only thing you must keep in mind is that inside doGet() > getThreadLocalRequest() returns null, so you must use > httpServletRequest.getSession() instead. Also you must > set the correct content-type. > > Best regards, Lothar --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
