Hi
I'm trying to integrate Guice in my web application.
The following ServletModule example:
protected void configureServlets() {
serve("*.html").with(MyServlet.class);
serve("/my/*").with(MyServlet.class);
// etc..
}
show how the web request *.html is to be served by MyServlet.
What will happen to the rest of the web request, say *.png, *.jpg and etc?
Do I have to map each of these requests in ServletModule?
Now my problem is, the browser complaints error 404 when load images/mypdf
specified in CSS:
.mypdf {
background-image: url('images/mypdf.png');
}
Do you think this has something to do in ServletModule ?
--
Hez
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-guice" 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-guice?hl=en
-~----------~----~----~----~------~----~------~--~---