• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to write back to a property file using JSP

 
Ramakanta Sahoo
Ranch Hand
Posts: 256
Fedora Firefox Browser Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a simple authentication system. one user JSP login page whose user name and pass is stored ina property file.
Now the problem is I want to allow the user to change its password.
so for that am fully confused how to achieve this.

I'm not able to get how to check user has old password with right username and how to get the new password and store it back into the properties file.

please shed some light.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65516
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not something that should be done in a JSP. Explore using a servlet for this task.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!