You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/07/11 22:44:26 UTC
DO NOT REPLY [Bug 27880] -
Cannot open resource URL as stream
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27880>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27880
Cannot open resource URL as stream
markt@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From markt@apache.org 2004-07-11 20:44 -------
Bugzilla is not a support forum. Please ask questions of this nature on the
tomcat-user list. Had you done this, you would have received a prompt reply
pointing out the error in your sample code.
<spec-quote>
public java.net.URL getResource(java.lang.String path) throws
MalformedURLException
Returns a URL to the resource that is mapped to a specified path. The path
must begin with a "/" and is interpreted as relative to the current context
root.
</spec-quote>
A quick test servlet confirms that this functionality works as expected.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org