tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Drinkwater, GJ (Glen)" <G.J.Drinkwa...@dl.ac.uk>
Subject RE: Quick Question
Date Tue, 13 Aug 2002 15:30:51 GMT
hi

what you should try to do is either from your jsp use the method I suggested
before and pass the info to your bean, or if this is a config file, use this
method which works I have just tried it, to load your file into a properties
class.

Properties conf = new Properties();
conf.load(getClass().getResource("config.txt").openStream());

then you can extract the information.

glen


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message