hi! im making a chat application :-) it has a log in page (asks for username and password). it also has a "forgot password" button that can send the username and password of the user to his email address(user inputs his email address with respect to the email address in his user profile). any suggestions on how i can do this? my usernamne, password, and email address is stored in a database :-) many thanks!
As you know this is a great community in which to learn Java and we don't have too many rules around here, but we do have a Naming Policy. Please read this policy and adjust your display name accordingly.
So what part of your problem do you not know how to do? If it is mearly sending the user thier password, typically this would be done via Email. You can use the JavaMail API for this.
If you need to know how to access a database from Java you should look at the JDBC Tutorial from Sun.
If you don't understand something else, you might be a little more specific with your question. By that I mean, is this a Desktop App or a Web App? Are you getting specific errors when compiling or running your code? If so, show us the code in question. [ May 16, 2004: Message edited by: Gregg Bolinger ]
hi gregg! thanks for telling me about the naming policy, i didn't know about that ^_^ thanks for telling me! :-) thanks also for the java mail API! it was a big help! im really new to java and this is my first project and i am really lost ^_^ and this is one of the missing piece to my project ^_^ many thanks!