tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Egyhazy <mw...@virginia.edu>
Subject Re: Quick Servlet Question
Date Thu, 29 Nov 2001 23:03:01 GMT
ive found the ResourceBundle class to be easier to use than an istream
approach for getting properties.

matt
----- Original Message -----
From: "Bo Xu" <bo@cybershop.ca>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Thursday, November 29, 2001 5:28 PM
Subject: Re: Quick Servlet Question


> ----- Original Message -----
> From: "Brandon Cruz" <bcruz@norvax.com>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Sent: Thursday, November 29, 2001 4:06 PM
> Subject: Quick Servlet Question
>
>
> > Is there a way to use the request object or anything else to get the
real
> > path to a folder that the servlet resides in?  I want it to return a
> string
> > like...
> >
> > /usr/local/apache/vhosts/myhost.com/httpdocs
> >
> > Have been looking with no luck and know that someone on this list can
tell
> > me if this is possible or not.
> >
> > Thanks!
> >
> > Brandon
> >[...]
>
>
>
> good email for you :-)
>
> for "getRealPath":
> http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg32185.html
>
> http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg13816.html
>
>
> if your purpose for your getting "path" is only for getting resource:
> http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg28724.html
>
> Bo
> Nov.29, 2001
>
>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message