> hi!
> so your solution would be very portable because every container must
support
> that!?
>
> -mw

The spec makes me believe that, but I've only tried it with Tomcat 3.3 so
far.

-Stefan

---------

  4.4 Resources

  [snip]

  * getResource
  * getResourceAsStream

    Both the getResource and getResourceAsStream methods take a String
    argument giving the path of the resource relative to the root of the
    context.
    It is important to note that these methods give access to static
    resources from whatever repository the server uses. This hierarchy
    of documents may exist in a file system, in a web application archive
    file, on a remote server, or some other location.

  [snip]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to