I want some kind of mechanism that will store new generated data in **web.xml** file
.
Suppose new user is created and I want to store his **username and password (*login credentials*)
in web.xml** file at the user creation time then what I ll have to do ?
In my system users are also limited in numbers so there is no worry in writing small amount of data in **web.xml**
file.
And if possible then I want to write that data in encrypted form in web.xml file.
Encryption is later stage but first of all I want to know that how to write dynamically generated data in **web.xml**
file ?
And after writing that data to **web.xml**
, whenever I need it how can I read that data from **web.xml**
?
I am using Java as Base Language.
Any proper way for to implement it ??