Reading trough the servlet2.3 specs I found another interesting thing. How
about using getResource() or getResourceAsStream() on the ServletContext?
The specs say you should be able to access ANY file using that. How do I
code that in a jps page? getResource() returns an URL object. What do I do
with it? Would it be like this:

<% servletContext.getResource("/myfile.gif"); %>

Thanks

Reply via email to