Hi all,
I have this
JSP that takes in the staff number and the password the user wishes for his intranet access. There are two things that has to happen
1. Append the password to .htpassword file
2. Append the staff number to .htgroup file.
The first one i have done, but for the second one the .htgroup file is like this:
1234,1235,1237,1238
Now if i have to insert the staff number 1236 ---- it has to go between 1235 and 1237 in the .htgroup file.
I know how to read the .htgroup file using Buffered Reader, but how would i go to the specific line and append that staff number in the right place???
How would i do that..??? please can some help.!!!
Thanxs.