How to Create a Complete Login and Forgot Password System in java ? [Part-2][With Source Code]

  Рет қаралды 17,361

RunCodes

RunCodes

Күн бұрын

Support us on Patreon: / runcodes
This video will show you how you can create a complete login and forgot password system in java using mysql database.
Part 1: • How to Create a Comple...
Download mail.jar file: www.java2s.com/...
Download activation.jar file: www.java2s.com/...
MySQL Connector: dev.mysql.com/...
Source Code: www.runcodes.t...
Topic covered by this video:
How to create login form in java?
How to connect java application to mysql database project that is create in netbean ?
How to generate random number in java?
How to hide and open new jform after clicking a button?
How to change the mouse pointer to Hand?
How to Update Database Value using java?
Mysql Connector for java: dev.mysql.com/...
OTP in java: • How to Generate and Se...
Multiuser login Java: • How to Create Multi Us...
Login form in java using MySQL database and NetBeans IDE: • How to Create a Login ...
Login form in java using SQL Server Database and NetBeans IDE: • How to Create Login Fo...
Login attempt form without database connectivity: • How to Create Login At...
Login attempt limit form using database connectivity: • How to Create Login At...
Create Simple Login Form in Java: • Create Simple Login Fo...
How To Insert Update Delete And Display Data In jTable [Part-2]: • Java And MySQL - How T...
How To Insert Update Delete And Display Data In jTable [Part-1]: • Java And MySQL - How T...
How to Show jTable Selected Row into jTextField in java: • How to Show jTable Sel...
How to Connect jComboBox with Database in java: • How to Connect jComboB...
login form in java using SQL Server and NetBeans IDE: • How to Create Login Fo...
Simple Login form in java using NetBeans IDE: • Create Simple Login Fo...
Send Free SMS using Java part-1[email-to-sms]: • How to Send Free SMS u...
Send Free SMS using Java part-2[email-to-sms]: • How to Send Free SMS u...
Send Free sms using java[SMS API]: • How to Send Free SMS F...
Follow us on Social Media:
Facebook: RunCodesPage
Instagram: runcodes
Twitter: RunCodesTwit
This video is created by Ran and RunCodes own this video. Using of this video on other channels without prior permission will be strictly prohibited. (Embedding to the websites is allowed).. So stop copying and be a responsible people.
#ForgotPasswordJava #ForgotPasswordSystemJava #JavaForgotPassword

Пікірлер: 109
@RunCodes
@RunCodes 3 жыл бұрын
do you like our work? does this tutorial help you? if so, you can support us at www.patreon.com/RunCodes
@vaibhavtomar5134
@vaibhavtomar5134 3 жыл бұрын
Hi, I m unable to download the source code from ur website..evertime I click on follow button the browser freezes.
@vaishalinegi9815
@vaishalinegi9815 3 жыл бұрын
Sir , my code is running but database is not updating after the execution . There is no exception but still the password is not changing in database
@RunCodes
@RunCodes 3 жыл бұрын
Means error in insert/update query check it!
@anitamane4139
@anitamane4139 15 күн бұрын
Sir i am getting an error as"javax.mail.internet.AddressException:Illegal whitespace in address in string "Your email" Can you please help me with this sir pleas?
@RunCodes
@RunCodes 13 күн бұрын
Remove the extra white space!
@donpkchannel7203
@donpkchannel7203 3 жыл бұрын
new com.sun.net.ssl.internal.ssl.Provider() is not working. it says that this package doesnt exist. You know how to fix it? Have you imported something? Can you type exactly what you have imported?? Or is it something else problem? Jar files for it is neccessarry or something else?
@RunCodes
@RunCodes 3 жыл бұрын
Use javax.net.ssl
@neeharyalamanchi3878
@neeharyalamanchi3878 2 күн бұрын
⁠@@RunCodesis it just that or do we add .provider at the end cuz it is asking me to create a new class called provider
@RunCodes
@RunCodes Күн бұрын
Ok if it works the use it!
@AyazKhan-ok5vq
@AyazKhan-ok5vq 4 жыл бұрын
In Reset.java... after connection In line no. 117 pst=con.prepareStatement(updateQuery); The error occurs that: method not found. I have imported Java.sql.PreparedStatement; then also error is coming.. Please help me out..this one is the only error in my complete project.
@RunCodes
@RunCodes 4 жыл бұрын
Contact us on facebook and send error msg and send code so that we can help you out!
@PrebiSimkhada
@PrebiSimkhada 3 жыл бұрын
When i run the same command, it says must start a starttls command. Any reasons why? Also, i couldnt run the security line since apparently its not required in the newer versions.
@RunCodes
@RunCodes 3 жыл бұрын
enable lesssecureapp on your google account!
@michimaru9023
@michimaru9023 2 жыл бұрын
@@RunCodes ive done it, it doesnt work
@alirezaei6480
@alirezaei6480 4 жыл бұрын
Many thanks. Just I get an error message after trying to reset the password and it says: Java.sql.sqlsyntaxerrorexception.you have an error in your SQL syntax Would u please help me with this
@RunCodes
@RunCodes 4 жыл бұрын
Check your sql query!
@mayankgahlaut5371
@mayankgahlaut5371 2 жыл бұрын
Hi I am getting an error that says Unknown SMTP HOST. I have followed the code exactly please help it is urgent
@RunCodes
@RunCodes 2 жыл бұрын
stackoverflow.com/questions/15543527/unknown-smtp-host
@shumailakhan9633
@shumailakhan9633 3 жыл бұрын
Thanks alot, it worked for me, but a question why sql query gives error in java if we put a variable name instead of a '?' for example "update table set password = ? where email ="+user
@RunCodes
@RunCodes 3 жыл бұрын
Its for security purpose, its replacement field! So their will be no such thing as sql injection!
@akhileshkumarmishra3617
@akhileshkumarmishra3617 3 жыл бұрын
Unable to import that jar file sir not getting such add option in eclipse 2021 please help
@RunCodes
@RunCodes 3 жыл бұрын
use netbeans IDE!
@vaishalinegi9815
@vaishalinegi9815 3 жыл бұрын
Sir it is throwing a exception at java.security.security.addprovider(new com.sun.net . That package does not exist ..what is the solution..i have already add both jar files in the libraries
@RunCodes
@RunCodes 3 жыл бұрын
stackoverflow.com/questions/61744737/java-11-internal-ssl-security-provider-compilation-failure
@melikekecelioglu6883
@melikekecelioglu6883 3 жыл бұрын
I had the same problem, I solved it adding jar library name com.sun.net.ssl.jar
@happyluxe
@happyluxe 4 жыл бұрын
Sir, how do I fix javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first. e17sm2255083wrr.88 - gsmtp I have tried props.put("mail.smtp.port", "465"); props.put("mail.smtp.socketFactory.port", "465"); but it didn't work ,,, Help me please
@RunCodes
@RunCodes 4 жыл бұрын
Use 587 and enable less secure apps in your gmail account!
@nehaharmalkar5806
@nehaharmalkar5806 4 жыл бұрын
@@RunCodes done then also same error occured
@trabelsi50
@trabelsi50 3 жыл бұрын
same here please u found a solution ?
@RunCodes
@RunCodes 3 жыл бұрын
Creat new project and let the google use this app by enabling lesssecureapp to on in your gmail account!
@grumpypalya728
@grumpypalya728 3 жыл бұрын
@@RunCodes Not working please Help Taskete kurasai
@aniketsaini572
@aniketsaini572 3 жыл бұрын
sir while writing this code: java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.provider()); it says there is no such package...actually after com..sun.net there is no suggestion for 'ssl' i'm stuck here please help me out. thankyou
@RunCodes
@RunCodes 3 жыл бұрын
Did you import mail.jar and activation.jar file?
@aniketsaini572
@aniketsaini572 3 жыл бұрын
@@RunCodes yes i did, that's why it is giving suggestions till com.sun.net ...it just can't recognise ssl
@masterjamie1999
@masterjamie1999 3 жыл бұрын
@@aniketsaini572 Ever get a fix for this?
@melikekecelioglu6883
@melikekecelioglu6883 3 жыл бұрын
I had the same problem, I solved it adding jar library name com.sun.net.ssl.jar
@jobieanneullo9134
@jobieanneullo9134 3 жыл бұрын
Reset rs = new Reset(email.getText()); wrong here is there anything to do in the imports?
@RunCodes
@RunCodes 3 жыл бұрын
Whats the error?
@belliliriadh3779
@belliliriadh3779 4 жыл бұрын
javax.mail.NoSuchProviderException:No privider for smtp how do fix this ?
@RunCodes
@RunCodes 4 жыл бұрын
watch and video clearly and write the same code that we wrote!
@duongthai1949
@duongthai1949 3 жыл бұрын
Sir. new com.sun.net ..... That package does not exist . Help me . Im Vietnamese and my english not good . please explain it in a simple way
@RunCodes
@RunCodes 3 жыл бұрын
stackoverflow.com/questions/61744737/java-11-internal-ssl-security-provider-compilation-failure
@melikekecelioglu6883
@melikekecelioglu6883 3 жыл бұрын
I had the same problem, I solved it adding jar library name com.sun.net.ssl.jar
@michaelangelocayabyab731
@michaelangelocayabyab731 6 ай бұрын
@@melikekecelioglu6883 can you paste here the website that you downloaded the jar file i have a same error like you and other
@krishnachaitanya2522
@krishnachaitanya2522 3 жыл бұрын
hi I'm getting an error starttls command first. What's all about that.Could you please clear that error
@RunCodes
@RunCodes 3 жыл бұрын
stackoverflow.com/questions/2964296/javamail-error-must-issue-starttls-command-first
@krishnachaitanya2522
@krishnachaitanya2522 3 жыл бұрын
@@RunCodes The link which you have shared is in servlet. I want exactly what you have done in your video.
@RunCodes
@RunCodes 3 жыл бұрын
stackoverflow.com/questions/6512430/tls-issue-when-sending-to-gmail-through-javamail
@ajitdubey4443
@ajitdubey4443 3 жыл бұрын
Sir, how do I fix javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first. n11sm9448459pgm.30 - gsmtp
@RunCodes
@RunCodes 3 жыл бұрын
Enable lesssecureapp on your gmail account!
@sithabisohlanze8650
@sithabisohlanze8650 Жыл бұрын
@@RunCodes Sorry sir, they have disabled that from may 30 this year, any alternatives??
@ashitosh0073
@ashitosh0073 Жыл бұрын
sir the ssl opetion is not showing me
@vishalsuryawanshi8408
@vishalsuryawanshi8408 4 жыл бұрын
I am doing this in eclipse will it effect inicomponent method
@RunCodes
@RunCodes 4 жыл бұрын
may be!
@bencastillo876
@bencastillo876 2 жыл бұрын
Java.mail.internet.address.Exception pls Help me this kind of.error
@RunCodes
@RunCodes 2 жыл бұрын
Import that library
@mitulpatel3011
@mitulpatel3011 4 жыл бұрын
Sir java .mail.AuthenticationFailedException This Error Occurs
@RunCodes
@RunCodes 3 жыл бұрын
Check your code and again import library!
@rootMedia21
@rootMedia21 3 жыл бұрын
java .mail.AuthenticationFailedException This Error Occurs
@RunCodes
@RunCodes 3 жыл бұрын
add java mail library in your library directory of project!
@msanimator8283
@msanimator8283 4 жыл бұрын
Very useful thank you so much.
@akarshansarafiitk4349
@akarshansarafiitk4349 4 жыл бұрын
sir not getting showing could not connect to smtp host 578 and tried 456too plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz help
@RunCodes
@RunCodes 4 жыл бұрын
enable lesssecureapp on gmail!
@akarshansarafiitk4349
@akarshansarafiitk4349 4 жыл бұрын
@@RunCodes i did it then also not working solve it plzz
@nehaharmalkar5806
@nehaharmalkar5806 4 жыл бұрын
@@akarshansarafiitk4349 same
@AK-hy8yn
@AK-hy8yn 4 жыл бұрын
i got error it sends a popup message that must issue a starttls command first
@AK-hy8yn
@AK-hy8yn 4 жыл бұрын
please help
@RunCodes
@RunCodes 4 жыл бұрын
Here you may find the solution stackoverflow.com/questions/10509699/must-issue-a-starttls-command-first
@hilarioobiangobiangmangue8111
@hilarioobiangobiangmangue8111 4 жыл бұрын
@@RunCodes i did not get help from that site
@joelchabzola8870
@joelchabzola8870 2 жыл бұрын
Thanks for sharing.
@RayenBD
@RayenBD 3 жыл бұрын
javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first. br14sm2959935ejb.61 - gsmtp anyone got this issue while sending the mail?
@RunCodes
@RunCodes 3 жыл бұрын
its from google account side!
@rishabhvishwakarma6884
@rishabhvishwakarma6884 4 жыл бұрын
Mimemessage is not showing import option?
@RunCodes
@RunCodes 4 жыл бұрын
Did you import mail.jar and activation.jar?
@BhavyaKancharla
@BhavyaKancharla 4 жыл бұрын
Thank you so much☺️
@RunCodes
@RunCodes 4 жыл бұрын
you are welcome 😊
@sitinuraisyah6999
@sitinuraisyah6999 4 жыл бұрын
thank you very much you are the best!
@junallenmagsino2571
@junallenmagsino2571 4 жыл бұрын
java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); wont work
@RunCodes
@RunCodes 4 жыл бұрын
import it first!
@sudiptaproggaislam7321
@sudiptaproggaislam7321 4 жыл бұрын
@@RunCodes I tried also.. this does not work
@ucle487
@ucle487 3 жыл бұрын
@@RunCodes package com.sun.net.ssl.internal.ssl does not exist
@RunCodes
@RunCodes 3 жыл бұрын
Import this package!
@melikekecelioglu6883
@melikekecelioglu6883 3 жыл бұрын
I had the same problem, I solved it adding jar library name com.sun.net.ssl.jar
@chyozynconstructionsupplie9297
@chyozynconstructionsupplie9297 3 жыл бұрын
Thank you sir
@PovBoy-q4d
@PovBoy-q4d 13 күн бұрын
my code error com why ?
@RunCodes
@RunCodes 13 күн бұрын
Whats the error
@PovBoy-q4d
@PovBoy-q4d 13 күн бұрын
@@RunCodes when i write java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); it error com ?
@PovBoy-q4d
@PovBoy-q4d 13 күн бұрын
and i add java mail already
@atienzaivanreint.9818
@atienzaivanreint.9818 Жыл бұрын
Its say error SMTP HOST
@becominghumanai1557
@becominghumanai1557 5 жыл бұрын
Thank you!
@rathinaprabhamn3731
@rathinaprabhamn3731 4 жыл бұрын
Error in session mailsession= session.getdefaultinstance(pros,null)
@RunCodes
@RunCodes 4 жыл бұрын
check your code again!
@NguyenTrongNghiaPH
@NguyenTrongNghiaPH Жыл бұрын
Hey bro!!! I have a bug in java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider())
@geraldnjuguna2087
@geraldnjuguna2087 Жыл бұрын
WOW!!
@poojajadhav8513
@poojajadhav8513 4 жыл бұрын
How to import java.security package
@poojajadhav8513
@poojajadhav8513 4 жыл бұрын
How to import java.security package? Reply fast.
@RunCodes
@RunCodes 4 жыл бұрын
Import java.security
@poojajadhav8513
@poojajadhav8513 4 жыл бұрын
@@RunCodes i have imported the java.security package bit giving error to Session line
@rathinaprabhamn3731
@rathinaprabhamn3731 4 жыл бұрын
Please help me
@khadaffesulaiman463
@khadaffesulaiman463 2 жыл бұрын
package com.sun.net.ssl.internal.ssl.Provider()); does not exist how to fix
@RunCodes
@RunCodes 2 жыл бұрын
Import it!
@yashjayamini9123
@yashjayamini9123 2 жыл бұрын
import javax.mail.Message; Message msg = new MimeMessage(mailSession); Not working
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 7 МЛН
What's in the clown's bag? #clown #angel #bunnypolice
00:19
超人夫妇
Рет қаралды 9 МЛН
How to Create Password Generator in java?[Easy way]
14:28
RunCodes
Рет қаралды 7 М.
[Java] How to send verification email in JSP and Servlet
30:22
TechTutorial
Рет қаралды 25 М.
Java NetBeans Tutorial of  SQL Database Login System
35:00
DJ Oamen
Рет қаралды 109 М.
Sending Email Using the Gmail API And Java
27:27
Sebastian Daschner
Рет қаралды 48 М.
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 7 МЛН