Login using Servlet and JSP | JDBC | Part 3

  Рет қаралды 113,381

Telusko

Telusko

Күн бұрын

Пікірлер: 107
@phonesj3422
@phonesj3422 2 жыл бұрын
THANK YOU! Almost went through every your video about Servlet and JSP, they're really helpful! Thank you again!
@sarmadchandio3799
@sarmadchandio3799 3 жыл бұрын
In these 2 weeks, I completed this playlist with better results. Sir, you are best in your intelligence your teaching way is awesome. Sir I am going to start my career as a java developer this credit might go to you, really I enjoy your sessions.
@alena.s.ryzhkova
@alena.s.ryzhkova 6 жыл бұрын
Awesome playlist, a very useful comprehensive example thank u from Russia
@nikesh2866
@nikesh2866 5 жыл бұрын
Are you from Russia
@wilsoncardoso150
@wilsoncardoso150 6 жыл бұрын
I just came here to say thank you so much for sharing and explaining the knowledge that you have, you explain with so much patient and passion that I was able to understand completely. Keep up the good work.
@amandeep01010
@amandeep01010 3 жыл бұрын
first of all great tutorials!! My concern is the password is not case sensitive. I think fetching the password from database for particular ID in Logan Dao and comparing it against the password from the login page would make it work.
@vamsikrishna8556
@vamsikrishna8556 4 жыл бұрын
Thank you sooo much sir.... No words to express my happiness... Amazing explanation...
@keerthikiki9760
@keerthikiki9760 4 жыл бұрын
Hats off.... You are a great trainer 🙌
@_ravi_kumar_gupta
@_ravi_kumar_gupta 7 жыл бұрын
explain very well sir can u please make a small mini project using jsp servlet and jdbc
@yasirhaddad5729
@yasirhaddad5729 5 жыл бұрын
great tutorial, thanks.... i just have on comment : when user login with invalid data and redirect to the login page again !!! we should provide the user with message like that: (Invalid data Entered please login first ) other than that awesome job and good luck
@manueldesouza1325
@manueldesouza1325 6 жыл бұрын
Great explanation. I would however NEVER use bad coding practice, even if it's only for a quick example. This is exactly what creates bad coding habbits especially for people that are not yet very good at programming.
@ganeshkaladagi690
@ganeshkaladagi690 3 жыл бұрын
Tum bohot mast kaam karta hai navin bhai..!
@murtaza7865298
@murtaza7865298 4 жыл бұрын
Just wanna thank you for this amazing tutorial on java servlet. Furthermore, I want to ask a question, you taught us how to delete the cache so that using the back button we do not lend on secure web pages. Similarly how we can make the same thing when a user gets logged in after clicking the login button and then press back button and if the user is logged in so it should lend on the home page, not on login page?? if yes so how should we achieve that is there anything to handle with the headers? or needed to handle in the servlet itself or JSP file. Waiting for your response. :)
@mukteshgautam4050
@mukteshgautam4050 4 жыл бұрын
good question what we are doing ito prevent back button in case we logged out is storing no cache in welcome.jsp and videos.jsp page(so that the require credentials again) and if we want to prevent going to login page after we have logged in, i guess we have to do the opposite of no-cahce like storing the credentials so that whenever user opens login page the data is already filled and he is redirected to welcome page!!! idk how to do this but guess we have to use some kind of headers on login page.
@priyamkoner7295
@priyamkoner7295 4 жыл бұрын
After enter my username and password then click submit button but doesn't work properly,doesn't enter any page..please help me sir?
@saikatbanerjee9659
@saikatbanerjee9659 7 жыл бұрын
Sir your explanations are very prompt and clear.There is one request for you sir, can you please a make project on Advance java.Then it will be very much helpful. Then I can experience a real life project.Advance thank you, sir. :)
@pulkit8490
@pulkit8490 Жыл бұрын
Woww. What a playlist sir🔥🤩.. Thanks a lot sir🙏
@saumyaagarwal8059
@saumyaagarwal8059 5 жыл бұрын
Thankyou for the playlist...very helpful and easy to learn. Please keep uploading more
@mihaidanieladin638
@mihaidanieladin638 4 жыл бұрын
This video series are very good.. password encrypt would be great :p Thanks Navim
@davishek7
@davishek7 4 жыл бұрын
*Navin
@harshadityagollavilli7661
@harshadityagollavilli7661 2 жыл бұрын
Thank you for the video sir. You have explained it very clearly.
@priyabharti6761
@priyabharti6761 4 жыл бұрын
Thanku so much sir....this video series is very helpful...sir please can u make videos on how to transfer data from clients page to the database... Please sir..
@prakharpal6274
@prakharpal6274 4 жыл бұрын
Very helpful playlist, thank you sir !!!
@pratyushrath1457
@pratyushrath1457 4 жыл бұрын
Your content is really helpful and I am very grateful for it but your intro of "Welcome back aliens" is really irritating.
@reshamdevirajasthan2124
@reshamdevirajasthan2124 5 жыл бұрын
Sir you are great...Very nice explanation
@tejashnaidumunagala8405
@tejashnaidumunagala8405 4 жыл бұрын
Thank you for sharing your knowledge sir..... i have small request could you please explain how to prevent csrf issue with double cookie concept. hope u see you my comment. Thanks in advance.
@dakshprajapati4233
@dakshprajapati4233 2 жыл бұрын
Thanks sir ❤️❤️
@ShivamKendre-fc3su
@ShivamKendre-fc3su 2 жыл бұрын
great explained
@sumeetnikam1376
@sumeetnikam1376 Жыл бұрын
Hello sir!! When you double click on the back button it shows the login page with username and password as it is so the page becomes insecure
@swarnenduchakraborty2891
@swarnenduchakraborty2891 3 жыл бұрын
Thanks sir great video!
@PARTHPATEL-ls6vf
@PARTHPATEL-ls6vf 4 жыл бұрын
Hello sir i found this type of error in this video :- ------>"Type mismatch: cannot convert from java.sql.PreparedStatement to com.mysql.jdbc.PreparedStatement"
@darshangaikwad8626
@darshangaikwad8626 3 жыл бұрын
Sir we can also create bean class take userid and password and pass it in dao class.
@ceo_google
@ceo_google Жыл бұрын
I think we might not need to create an object of dao if we make the check method static.
@tejakommineni2415
@tejakommineni2415 2 жыл бұрын
navin sir instead of using boolean method , can we fetch email and password by using collection concept using vector,arraylist,hashmap .... by using collection can you made video using collections concept to fetch email and password from database
@yasvanthhari749
@yasvanthhari749 9 ай бұрын
Worth information
@yashhonrao491
@yashhonrao491 2 жыл бұрын
sir we want client server relations , please make video on how to CRUD using database
@asyiqinnasir8121
@asyiqinnasir8121 4 жыл бұрын
did he just call us aliens XD nice tutorial! love ittt
@shashikantkushwaha7098
@shashikantkushwaha7098 7 жыл бұрын
Sir if i logout from one account its logout from all other account at same browser
@mrunalipunde4755
@mrunalipunde4755 4 жыл бұрын
Very helpful videos!! But if I am using oracle database, do I need to add any jar files?? If yes then where to find them.
@sundharesanmohan2816
@sundharesanmohan2816 3 жыл бұрын
maven repository
@itachi-senpaii
@itachi-senpaii 5 жыл бұрын
thanks a lot for these videos
@bhaktilatadash7619
@bhaktilatadash7619 4 жыл бұрын
Please make a video how for each succesful sign up its creating a separate table in data base. Example in flipkart for each user its creating a separate table for wishlist and cart
@modernsanskari4398
@modernsanskari4398 7 жыл бұрын
Upload videos on multiple Image/file upload and download on to server usingJDBC
@ASinha097
@ASinha097 6 жыл бұрын
Sir,will u please provide complete video on Servlet/Jsp Listener...!!!! And its method and all.
@sagarmeena0210
@sagarmeena0210 5 жыл бұрын
you're amazing sir
@manishaduggineni4949
@manishaduggineni4949 6 жыл бұрын
Sir it's a good vedio but in this video u are saving values in database before later giving same values if give other username password it will not work but it will nice if we store our user data first in database later retrieve back that data to check then it is good
@8601586375
@8601586375 6 жыл бұрын
u can create a registration page
@ashwininemade1678
@ashwininemade1678 6 жыл бұрын
Sir I want to create a framework using Java where all the CRUD operations can be implemented without actually writing the code for it. I want a basic idea on how I should program it using MVC architecture in Java. Please can you make a video on it??
@sohaagarwal7336
@sohaagarwal7336 7 жыл бұрын
I wish to display an image using Servlet and Jsp.. Could u please share a video on the same
@zenshyam
@zenshyam 4 жыл бұрын
Hey..Did you find it...How to do so..If yes....so do let me know....Thanking you in Advance...
@ManideepSagar
@ManideepSagar 6 жыл бұрын
Great video
@zn6151
@zn6151 4 жыл бұрын
In thing ResultSet with only next() is not enough to match up the user name and the password, am I right?
@shreyashgupta7957
@shreyashgupta7957 6 жыл бұрын
I have to design such a login page for integrating payment gateway in my project, can you help me out... In terms of security features
@vivekdubey8249
@vivekdubey8249 3 жыл бұрын
Sir i followed the exact same steps for database connection but i am getting a blank output.even though i am using correct uname and pass...someone plss help mee
@karthikkumar990
@karthikkumar990 3 жыл бұрын
i can help
@vivekdubey8249
@vivekdubey8249 3 жыл бұрын
@@karthikkumar990 pls bro help
@pawanjaiswal9049
@pawanjaiswal9049 5 жыл бұрын
Hi sir, I'm unable to add ojdbc.jar(Connector) to the lib folder of Web-INF. By default it's creating a folder named referenced library & putting the jar file to it & so it's giving an error : driver not found. If u could plz help me on this one... Thanks in advance.
@waytolearningcomputerscien6558
@waytolearningcomputerscien6558 Жыл бұрын
thank you sr
@manaspant3757
@manaspant3757 6 жыл бұрын
Sir wanted to know about how to create a sign up page and then add that data to database
@krishna4074
@krishna4074 2 жыл бұрын
Sir I have added the jar file to the library even after that I got the error of (com.mysql.jdbk.driver) : can anyone tell me what should I do?
@surendrasingh-vy4fs
@surendrasingh-vy4fs 4 жыл бұрын
sir...., im using oracle database, im getting invalid username/password logon denied. can u tell me how to write for oracle database.
@sivakumarr7799
@sivakumarr7799 3 жыл бұрын
if copy the url and past in another tab page of the same browser window we are able to access the content. how to restrict?
@sheetalnakade9206
@sheetalnakade9206 6 жыл бұрын
Hello sir, I run this program successfully .Before jdbc connectivity login page was redirecting to welcomepage but after doiong jdbc connectivity , I logged in successfully but its not redirecting to welcome page, its showing blank page ,why this happening ,please give me solution .
@zenshyam
@zenshyam 4 жыл бұрын
happening the same with me....can you tell me whats wrong here..?...Thanking you in advance
@gunasheelan4753
@gunasheelan4753 3 жыл бұрын
same problem
@rohithkumarshambuni4776
@rohithkumarshambuni4776 7 жыл бұрын
I have done every thing but its not checking my db .redirecting to login page .how to resolve it .i would like to share u my code if needed
@sumankumar-vx9kp
@sumankumar-vx9kp 4 жыл бұрын
Thank u so much
@uditjain3212
@uditjain3212 6 жыл бұрын
unreported exception java.sql.SQLException; must be caught or declared to be thrown sir i have this type of problem
@larswang6759
@larswang6759 6 жыл бұрын
Nice video
@RohitKumar-zs4mo
@RohitKumar-zs4mo 5 жыл бұрын
thanks
@zackfernandez3226
@zackfernandez3226 4 жыл бұрын
Hello, I deployed my war on my aws server and I´m gettin the next issue. Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request Reason: Error reading from remote server can you help me identify why this is happening? thanks a lot for the attention
@vjai9858
@vjai9858 6 жыл бұрын
Awesome!!☺
@giridharkoppisetti
@giridharkoppisetti 4 жыл бұрын
sir iam getting an error as column index out of range:1, no of columns: 0
@GamingwithC4ndy
@GamingwithC4ndy 4 жыл бұрын
My project is not working after entring the correct uname & pass help me please
@vipulgupta2072
@vipulgupta2072 6 жыл бұрын
I am facing these errors: at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Unknown Source) Help!!! Help!!!
@chinmayraut8561
@chinmayraut8561 6 жыл бұрын
hello sir, i m experiencing an error while passing string argument to check method in login servlet and the error is ClassNotFound. anyone can u help me out??
@hemanthselvam9645
@hemanthselvam9645 4 жыл бұрын
how to update customers login information in database using servlet
@georgekrax
@georgekrax 5 жыл бұрын
I cannot conenct with database. Any possible solutions?
@simbol5638
@simbol5638 5 жыл бұрын
Thanks very much sir. But its not working here. Its giving me a list of errors
@atuldixit9581
@atuldixit9581 5 жыл бұрын
can we use XAMPP for MySQL..?
@ronaldaguilar4395
@ronaldaguilar4395 5 жыл бұрын
yes you can
@bhoomikagarg4416
@bhoomikagarg4416 5 жыл бұрын
My JSTL is not working in this as ${username} is not printing the value of it rather its just printing ${username}. I have tried a lot of things but couldn't find any solution. Can you help me ?
@pascala3823
@pascala3823 5 жыл бұрын
Hi @bhoomika garg! What things did you try?
@sagarrao79
@sagarrao79 5 жыл бұрын
we need to below tag welcome page isELIgnored="false" like this. it will work
@hemanthreddy7135
@hemanthreddy7135 6 жыл бұрын
String sql = "select * from login where uname=? and pass=?"; String url = "jdbc:mysql://localhost:3306/MyAppDb"; String username = "root"; String password = "Myname#21"; Connection con = DriverManager.getConnection(url,username, password); (after this statement its directly printing the exception - e.printStackTrace(). java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES) when i debug the code, i can see that password is being set to "0" How do i resolve this
@deepakkumarprajapati8823
@deepakkumarprajapati8823 6 жыл бұрын
when your password is set to "0" then you should change you password Myname#21 by 0
@deepakkumarprajapati8823
@deepakkumarprajapati8823 6 жыл бұрын
in dao.check(uname,pass) showing an error ,solution is use try catch block but when i am using try catch block login in log page showing exception it take's me to catch block 14:38
@gunasheelan4753
@gunasheelan4753 3 жыл бұрын
use try catch block in logindao(sql) class.
@avishekchatterjee531
@avishekchatterjee531 4 жыл бұрын
When I give uname and password after run as server...nothing is happening...even the previous page also didnt show...pls help me
@sudipmandal8599
@sudipmandal8599 4 жыл бұрын
Avishek Chatterjee hey bro.... did you get the solution???
@infinite639
@infinite639 6 жыл бұрын
register page where it is i want register page
@arun1993apr
@arun1993apr 6 жыл бұрын
i'm getting error if (dao.check(uname, pass)) in check .....what to do
@samuelmanukonda286
@samuelmanukonda286 6 жыл бұрын
Even I have the same problem, do you have any solution for this?
@arun1993apr
@arun1993apr 6 жыл бұрын
no
@puneetnagpal1981
@puneetnagpal1981 6 жыл бұрын
Make sure you have created the check function in LoginDao with 2 parameters. Secondly check that whether the instance of LoginDao is created as dao only as mentioned in vedio. think it should work and working fine in my case
@keerthikiki9760
@keerthikiki9760 4 жыл бұрын
Try to surround it with try and catch block
@bay_0f_bengal100
@bay_0f_bengal100 6 жыл бұрын
how to login using otp?
@jashandeepsingh9028
@jashandeepsingh9028 7 жыл бұрын
we can do all these things with php , so why we need to learn java servlets and jsp.
@pratikbhardwaj3804
@pratikbhardwaj3804 7 жыл бұрын
who will give security??, have you ever seen that any banking or financial webpage made with PHP or any other language??
@techtech0415
@techtech0415 7 жыл бұрын
sir can u pls make a registration form using jsp ,servlet and jdbc
@BrianEmmanuel-z8e
@BrianEmmanuel-z8e Жыл бұрын
ni unyama tuu unapimwa
@vinaykumarjoshi5187
@vinaykumarjoshi5187 4 жыл бұрын
Sodhi...
@hemanthkumarnr4555
@hemanthkumarnr4555 2 жыл бұрын
here i'm using oracle database, problem with Class.forName java code String sql="select * from loginmodule where uname=? and pass=?"; String url="jdbc:oracle:thin:@localhost:1521:xe"; String username="login"; String password="tiger"; public boolean check(String uname,String pass) { try { Class.forName("oracle.jdbc.driver.OracleDriver"); Connection conn= DriverManager.getConnection(url,username,password); PreparedStatement mystat= conn.prepareStatement(sql); mystat.setString(1, uname); mystat.setString(2, pass); ResultSet rs=mystat.executeQuery(); if(rs.next()) { return true; } error java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1412) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1220) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:375) at com.login.dao.logindao.check(logindao.java:19) at com.login.login.doPost(login.java:24)
@msh1996
@msh1996 5 жыл бұрын
Thank you so much sir.
@TheDheerendraJaiswal
@TheDheerendraJaiswal 5 жыл бұрын
thank you sir.
Servlet Filter Tutorial Theory
8:35
Telusko
Рет қаралды 115 М.
Servlet | JSP | JDBC | Maven Example
37:31
Telusko
Рет қаралды 195 М.
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 36 МЛН
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 4,5 МЛН
Login using Servlet and JSP
13:17
Telusko
Рет қаралды 112 М.
Login & Registration using JSP , Servlet & SQL [ Part 1]
28:59
TrendingCode
Рет қаралды 195 М.
Microservices using SpringBoot 3.0 | Full Example [NEW]
1:25:38
Daily Code Buffer
Рет қаралды 186 М.
OpenAI Embeddings and Vector Databases Crash Course
18:41
Adrian Twarog
Рет қаралды 467 М.
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 36 МЛН