M
Marcin Go³dyn
Hello
I have an application which updating properties files during working on
tomcat server. To this file i`m adding a new user. Physically he is added
but when i`m trying to logon one more time i got message that there is no
such a user in properties file. It`s working only when i reset tomcat server
like this i read files:
InputStream in1 = new
FileInputStream(session.getServletContext().getRealPath("/")+"WEB-INF/classes/access.properties");
InputStream in2 = new
FileInputStream(session.getServletContext().getRealPath("/")+"WEB-INF/classes/users.properties");
properties.load( in1 );
properties2.load( in2 );
regards
Marcin Goldyn
I have an application which updating properties files during working on
tomcat server. To this file i`m adding a new user. Physically he is added
but when i`m trying to logon one more time i got message that there is no
such a user in properties file. It`s working only when i reset tomcat server
like this i read files:
InputStream in1 = new
FileInputStream(session.getServletContext().getRealPath("/")+"WEB-INF/classes/access.properties");
InputStream in2 = new
FileInputStream(session.getServletContext().getRealPath("/")+"WEB-INF/classes/users.properties");
properties.load( in1 );
properties2.load( in2 );
regards
Marcin Goldyn