Тёмный
No video :(

Login Page using JSP + Servlet + JDBC + MySQL (2022)- Step by Step Tutorial 

CS CORNER Sunita Rai
Подписаться 44 тыс.
Просмотров 224 тыс.
50% 1

Learn how to create a login web application using MySQL+ JSP + Servlet +JDBC (Step by Step). Authenticate the username and password with the table stored in a database.
A Simple Jsp Servlet Jdbc User login page Example using MySQL database, tomcat server, and eclipse. Login using JSP and MySQL.
Step by Step User Login Page tutorial using Jsp, servlets, and database connectivity.
The control goes from the JSP Login page to a servlet on submitting the form. The servlet checks the entered details with the database table. Servlet class contains JDBC code for connecting to MySQL, fetching data, and redirecting users based on input.
Link for downloading Mysql Connector for java: dev.mysql.com/...
This is basic web appication Servlet and JSP.
#servlet #jsp #loginpage #jdbc #mysql #cscornersunitarai
-----------------------------------------------------------------------
Subscribe to my channel for more videos of programming and hit the bell icon to never miss an update in the future.
Also, don't forget to LIKE & COMMENT.
------------------------------------------------------------------------
Channel Subscription:
🔗 / cscornersunitarai
Java Programming Tutorial Playlist
🔗 • Java Programming Tutorial
Advanced Java Tutorial Playlist
🔗 • Advanced Java Tutorial
Thanks for watching my videos till the end, if you like my work please do Subscribe, Like, Comment, and Share!!
------------------------------------------------------------------------
🎥 MY FAVOURITE RU-vid GEAR
www.amazon.in/...
🌍🌍GET Access to RU-vid Influencer Program Worth 999/- ABSOLUTELY FREE using Coupon🌍🌍
digitalachieve...
Use this COUPON Code: SPECIALOFFER
------------------------------------------------------------------------
CONNECT WITH ME ON:
►Facebook - / cscornersunitarai
►Personal Facebook A/c - / sunita.sharmarai
►Instagram - / cscornersunitarai
►Telegram - t.me/cscorner
►LinkedIn - / cscornersunitarai
------------------------------------------------------------------------
PS: Some of the links in this description are affiliate links that I get a kickback from
Subscribe to CS Corner Sunita Rai for more videos!
Like! Subscribe! Share!
Stay tuned!
Servlet class example
servlet example program
what is servlet class in Java
what is JSP
JSP example program
MySQL Database
tomcate server
JDBC
Login page using servlet
user login page
A Simple Jsp Servlet Login Example in Tomcat and Eclipse
Create a simple login page using JSP and Servlet
jsp and servlet,jsp,servlet,mysql,login,login using jsp and servlet,login using mysql,tomcat,java,login page in java,how to create login registration form using jsp and mysql,how to create login page in jsp using eclipse,login form in java eclipse with database,how to create registration form in jsp using eclipse,login page in java eclipse,login page in java netbeans,login page using jsp servlet and mysql,login page using jsp and servlet in eclipse,cs corner sunita rai

Опубликовано:

 

5 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 301   
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
*_Got a question on this topic? Please share through comments or reach us on telegram _**_t.me/cscorner_*
@VikasKumar-nb5hv
@VikasKumar-nb5hv 2 года назад
Mam I am a beginner . I have no basic knowledge of servlets. So you upload basic lecture on servlets
@sunitarai5174
@sunitarai5174 2 года назад
@@VikasKumar-nb5hv okay 👍
@alivelupilli8512
@alivelupilli8512 Год назад
I think u entered username and password that username is not there in ur logintable to the database once check it
@JAVA_TECH160
@JAVA_TECH160 8 месяцев назад
Mam advance java can you develop crud application and mni project
@merugukeerthana9260
@merugukeerthana9260 6 месяцев назад
Mam I am not getting the option as webapp under src
@sumeetjain9075
@sumeetjain9075 10 месяцев назад
This is great. Helped me in brushing up my understanding of Java EE code flow. Thanks.
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 месяца назад
Glad you liked my video! Please subscribe
@siddharthtiwari1515
@siddharthtiwari1515 2 года назад
Sometime the speed of writing and scrolling is very fast and it become very difficult to see the whole code and when you write code of printwriter at 14.35 minutes of the video one if the portion is not clearly visible. Apart from that it is very helpful
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Glad it helped you👍 Will take care next time
@siddharthtiwari1515
@siddharthtiwari1515 2 года назад
@@CSCORNERSunitaRai And there is another problem My code isn't successfully run and I am getting a error and I can't review the whole code because in the video I haven't see properly the whole code because it is hidden below on the screen and you don't move page below in the video anywhere.
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
@@siddharthtiwari1515 change speed and watch video if u think so i m going fast.
@zeppelinmexicano
@zeppelinmexicano 2 месяца назад
Do not skip her steps to add the mysql connector jar to the server in the IDE! After doing that I had a Tomcat caching issue and it would not validate the driver until I ran it a few times and got a new cache with the connector jar in the runtime classpath. Remember, that is runtime classpath, not compile time, and just adding a jar by adding library jars isn't going to work for a servlet.
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 месяца назад
Thanks
@RavindraPatel9597
@RavindraPatel9597 Год назад
how to find driver path....line number 21
@ashishraghav5050
@ashishraghav5050 Год назад
Your videos helped me every time and this gives me accurate output without any unexpected error. Thanks a lot ma'am 😊
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
That's great☺keep watching
@JAVA_TECH160
@JAVA_TECH160 8 месяцев назад
​@@CSCORNERSunitaRaimam spring basics you cam make video like spring core spring MVC spring jdbc spring aop spring security spring orm
@sadaiyandi7789
@sadaiyandi7789 7 месяцев назад
@4:14 I did the same thing, clicked on Organise Import option and yet the errors remain. Error message "The import java.io.IOException cannot be resolved". What can i do about these errors? thankyou
@CSCORNERSunitaRai
@CSCORNERSunitaRai 7 месяцев назад
Ohk so u r getting error in IO. Please send me pic on my telegram
@ShubhamPangale
@ShubhamPangale Год назад
Thank you mam your video most of the helpful for me.. because i had search this type of video in many of the day but another videos not much clearing my doubt but your video is nice fully explain this concept of authentication purpose.. thank you once again...
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Glad to hear that☺👍Keep watching
@teruvaivamsi7322
@teruvaivamsi7322 5 месяцев назад
I tried same as you mam and without any errors executed but it always showing else block statements only and if block statements not working can you clarify it once mam
@sivadom4589
@sivadom4589 Месяц назад
Did u figured it out?
@allspirituality8471
@allspirituality8471 Год назад
Thank you ma'am. ma'am is that need to be online......after downloading ......it works for me when i am online?
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Once you installed it will work offline too
@arunyadav6220
@arunyadav6220 10 месяцев назад
Tq Somuch akka Now understand the servelets andJDBC in Clear , (Chalaa Bagaa Ardam aindhi)
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 месяца назад
Glad you liked my video! Please subscribe
@muhammadraza8757
@muhammadraza8757 8 месяцев назад
Hi Sunita, I am from England. I left programming about 15 years ago. Forgotten every thing, reviving my memories. Where can I reach you in case of any queries. thanks and regards.
@CSCORNERSunitaRai
@CSCORNERSunitaRai 8 месяцев назад
U can send messages on my telegram
@saiv5768
@saiv5768 2 года назад
Hello mam From few days facing this issue After downloading mysql connector I don't see executable jar file ..multiple times I downloaded checked every folder but in vain Can u help me get through this
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
You need to extract it. Check your download folder
@AlokKumar-ot9sx
@AlokKumar-ot9sx 2 года назад
Please explain one topic -jstl in your series
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Ok, noted. Will try
@RTBOSS
@RTBOSS 9 месяцев назад
Thank you so much, That's enough for me i will manage the session myself letter...
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 месяца назад
Glad you liked my video! Please subscribe
@MS-us5fk
@MS-us5fk 2 года назад
Thank you mam. You are explaining the concepts are very good..
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Glad you liked it👍 keep watching
@prachiankaram4749
@prachiankaram4749 5 месяцев назад
This was very helpful mam. Thanks to you!
@CSCORNERSunitaRai
@CSCORNERSunitaRai 5 месяцев назад
THANK YOU ! PLEASE SUBSCRIBE ! 🎉🌟
@Gabber4799
@Gabber4799 Год назад
Thank you.. i am able to create login page successfully
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Glad to know that 👍keep watching
@babukvb17
@babukvb17 Год назад
mam.. what a explanation!! Thank you soo soo much..
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
You're welcome👍please subscribe😊
@abubakarshaikh9116
@abubakarshaikh9116 Год назад
Your tutorial is very helpful, Thanks
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Glad it was helpful!☺please subscribe👍
@user-cs4ej6jm6r
@user-cs4ej6jm6r Год назад
While running jsp page it showing that "the selection is not within a valid module" what I have to do?
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
While creating project select web module 2.5
@user-cs4ej6jm6r
@user-cs4ej6jm6r Год назад
mam I have selected version 2.5 and it throws an error that version 2.5 was not on java build path. What I have do mam.
@raviponnam433
@raviponnam433 Год назад
Good tutorial to learn JSP and sevlets..
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Thank you so much!
@rutuja971
@rutuja971 11 месяцев назад
Even after organising imports, the errors are still there
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 месяцев назад
What error u r getting?
@vikrraal
@vikrraal 2 года назад
Thank you very much mam, this was a great tutorial for beginners.
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
You're welcome👍
@yashainapure5111
@yashainapure5111 Год назад
mam as i put username and password and click login button i am getting blank black page as output
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Check whether u hv entered correct login details or check console id any ereor
@Rahul_OvO_9
@Rahul_OvO_9 Год назад
Thanks mam👍 i just need to ask one question that jar file i moved to Apache server is enough or I need add again in deployment or build path
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
No need.. That's enough
@nikitab7720
@nikitab7720 8 месяцев назад
Thank you for the video. I tried as stated in video... but getting the error ... The requested resource [/Login/] is not available using eclipse EE Version: 2022-09 (4.25.0)
@CSCORNERSunitaRai
@CSCORNERSunitaRai 8 месяцев назад
Is login is jsp Or servlet?
@listentomusic8160
@listentomusic8160 7 месяцев назад
You make hard concept too easy. Thx
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 месяца назад
Glad you liked my video! Please subscribe
@rajprakashvishwakarma4499
@rajprakashvishwakarma4499 Год назад
Your Video is helpful till the date. ❤❤
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Glad you liked it👍☺Please subscribe
@abhishekkumawat91
@abhishekkumawat91 2 года назад
Thanks mam for great explanation. I am getting class not found exception in this class.forname() line what should I do? And i followed every step.
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
You're welcome👍 Follow this video to solve error ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-UzJjb10SlA0.html
@surbhisinghal2929
@surbhisinghal2929 Год назад
Very knowledgeable video, thank you so much mam ❤
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Most welcome 😊please subscribe 👍
@dragonhot6951
@dragonhot6951 Год назад
Truly Thankful as it helped me
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
You're welcome! Please subscribe
@creative_creature_44
@creative_creature_44 9 месяцев назад
After executing the code loginsevlet page showing empty blank page. Nothing is visible...
@CSCORNERSunitaRai
@CSCORNERSunitaRai 9 месяцев назад
If this is the case then check getParameter method. did u wrote write textbox name
@akshattiwari5495
@akshattiwari5495 2 года назад
hi mam, great tutorial but I was running into an issue, I got Login failed for every input
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Is the connection established successfully? Check your table name and column name. Also check whether you have data in table or not
@akshattiwari5495
@akshattiwari5495 2 года назад
@@CSCORNERSunitaRai I checked mam, the issue has now been resolved, thankyou.
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
@@akshattiwari5495 great
@sankalpakuldharan1384
@sankalpakuldharan1384 2 года назад
Hello mam, After user login when I enter name and password. When I clicked login button it not showing welcome.jsp Or login failed try again page. What should I do for solving this error?
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Please check action attribute of form tag. Also make sure your jsp Or html files are under webapp
@sankalpakuldharan1384
@sankalpakuldharan1384 2 года назад
Mam, now it's working. But showing only login failed page for every input, not displayed welcome.jsp file for correct username and password.
@ybsigma3317
@ybsigma3317 2 года назад
@@sankalpakuldharan1384 1. go to the folder where the mysql connector jar file is located (Probably downloads) 2. Drag the jar file and drop it into WEB-INF/lib folder of your project
@studentimantha5345
@studentimantha5345 2 года назад
@@ybsigma3317 I get this error too. Now I fixed it thank you!
@gopikrishnan6667
@gopikrishnan6667 Год назад
@@ybsigma3317 thanks
@preethireddyg3595
@preethireddyg3595 9 месяцев назад
After login its showing blank page what is the error in that mam
@bannubenz6245
@bannubenz6245 9 месяцев назад
Me to if you found error please share me
@sourabhsingh8346
@sourabhsingh8346 7 месяцев назад
Because there is no content in home page 😅
@manavkhandurie3591
@manavkhandurie3591 Год назад
Thank you so much maam , it was a much needed
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
You're welcome👍 keep watching
@saiv5768
@saiv5768 2 года назад
I got this error after running on server after writing first program @ login jsp 404 not found The origi server did not find a current representation for the target resource or not willing to disclose that one exists
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Make sure your login.jsp is placed in proper directory (webapps)
@saiv5768
@saiv5768 2 года назад
@@CSCORNERSunitaRai k IL try
@BEC-VISHALSR
@BEC-VISHALSR 2 года назад
@@CSCORNERSunitaRai but also the same problem mam
@pratushsharma9335
@pratushsharma9335 Год назад
Thank you so much mam from cdac Pune institute
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Most welcome 😊please subscribe 👍
@anuragmohapatra
@anuragmohapatra 2 года назад
Mam, I am facing Description Java compiler level does not match the version of the installed Java project facet issue when trying to run the program.
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
R u using eclipse IDE? Check compatibility of eclipse ide and jdk
@truthordare9267
@truthordare9267 Год назад
my servlet page not working is show a error in resource not avilable in Login project
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Join my telegram, I have shared source code, check file section
@mohankumarjn7912
@mohankumarjn7912 2 года назад
Thank u mam for a wonderful teaching🙏
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
You're welcome👍
@dancebattleangelwithprophe9881
@dancebattleangelwithprophe9881 9 месяцев назад
Hi Mam.. can you please make the same project using maven and hibernate along with jsp and servlet? I have searched everywhere and could not find one in updated format.
@CSCORNERSunitaRai
@CSCORNERSunitaRai 9 месяцев назад
I'll try
@dancebattleangelwithprophe9881
@dancebattleangelwithprophe9881 9 месяцев назад
@@CSCORNERSunitaRai thankyou
@zeppelinmexicano
@zeppelinmexicano 2 месяца назад
Great job, Sunita.
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 месяца назад
Thank you so much😊
@manukm5510
@manukm5510 Год назад
Ma'am, I know how to fetch data from Database. But those data, how to pass to JSP page for displaying purpose. That I do not know. Can u make video on that
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
yes I'll. If u can share your requirement exactly
@manukm5510
@manukm5510 Год назад
@@CSCORNERSunitaRai Exactly like CRUD operation. But I didn't use bean class for writing JDBC code and also I wrote JDBC code in Servlet class only. By using ResultsSet Interface I was fetching the data and I can print it on UI using PrintWriter class. But I want to create separate JSP file for displaying purpose. So how can I pass those output data of JDBC to JSP to print it on to the UI. If you can able to give your Email ID. I will send my through Email.
@aastha4708
@aastha4708 8 месяцев назад
How can I copy my connector jar file into this I think its not ideal way of doing this in your video
@CSCORNERSunitaRai
@CSCORNERSunitaRai 8 месяцев назад
What is wrong in this? We're just pasting required file onto server. There are different ways of doing this pgm, I have shown the simplest way which beginner can understand
@gangavarapuabhishek8468
@gangavarapuabhishek8468 Год назад
have followed your video but when trying to run on server i am getting error as class not found exception request you to plz guide me
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Did you added connector. jar
@MyAbhisheik
@MyAbhisheik 5 месяцев назад
HTTP Status 404 - Not Found Type Status Report Message The requested resource [/LogingPageTest/LoginServlet] is not available Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. Apache Tomcat/9.0.85
@CSCORNERSunitaRai
@CSCORNERSunitaRai 5 месяцев назад
Check my tomcat tutorial
@theundesirableone-sw9mm
@theundesirableone-sw9mm 5 месяцев назад
Is it resolved to you. I am getting the same error
@kholoudbelhadj
@kholoudbelhadj Год назад
thank youuuuu easy and so helpful
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
You're welcome 👍Please subscribe
@guruvaniumarani3846
@guruvaniumarani3846 2 года назад
Hi...maam..gud afternoon.....I have a doubt on connections....how to check path,protocol,localhost..
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Localhost and protocol is going to remain same. Only you have to check port number. U can login to mysql command line and can check.
@aditijain2448
@aditijain2448 2 года назад
Maam you're awesome! 🥺
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
☺thank you so much👍keep watching
@morisakitaku4066
@morisakitaku4066 6 месяцев назад
in 9:44 , where can i get my my own password?
@learning_trespasser
@learning_trespasser 8 месяцев назад
hey, when you successfully logged in, why didn't url name change to welcome.jsp But when you started server it was showing login.jsp Although this might be silly question but I am new to Java
@CSCORNERSunitaRai
@CSCORNERSunitaRai 8 месяцев назад
It's not a silly question 😊 This is due to the method which I have used
@omiv3rse-ko6ov
@omiv3rse-ko6ov Год назад
when i clicked on organise imports nothing happened and errors weren't fixed 4:17
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Then u can import manually
@yeshwanthR-gz8tq
@yeshwanthR-gz8tq Год назад
Mam servelt is running successfully but I can't get the login successfully page after submit
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Check your database connectivity
@khalidh4091
@khalidh4091 2 года назад
Thank you for your wonderful teaching mam
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Glad you liked it👍Do explore my channel for more stuff
@VikasKumar-nb5hv
@VikasKumar-nb5hv 2 года назад
I saw your all videos but i need mam beginner videos for servlets
@SaravananBAS-om2zr
@SaravananBAS-om2zr Год назад
hi mam, i want to print jsp page input field in my java class... using textfield name attribute am accessing it in request object in java class by request.getParamter() method but for all input it prints null in backend....how to fix this issue(request...httpservletrequest object)
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
java program means swing based application? request and response concept comes in web application not desktop
@thecomputerworld6021
@thecomputerworld6021 Год назад
Mam wonderful explanation bt in my system servlet page pe error aa rha h please give me solution
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Join my telegram and share error
@pradumansoni2601
@pradumansoni2601 2 года назад
hello sir ,I am trying to this form but i am face a error.so please solve it . Cannot invoke "java.sql.Connection.prepareStatement(String)" because "con" is null
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Check import for Connection, it should be java.sql.Connection. Also check declaration of connection object
@craftvsgaming6834
@craftvsgaming6834 Год назад
Thank you mam 👍🏻🙏🏻
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Most welcome 😊please subscribe 👍
@sohanmaali
@sohanmaali 11 месяцев назад
i want to send response on same login page without using jsp
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 месяцев назад
use include action or directive or requestdispatcher include method
@578n.jhansisri5
@578n.jhansisri5 10 месяцев назад
Mam I am getting "HTTP Status 404 - Not Found" while clicking on login button, Kindly help me
@CSCORNERSunitaRai
@CSCORNERSunitaRai 10 месяцев назад
check your file name or page name. if it is jsp in action u hv to give extension if servlet don't give extensions
@578n.jhansisri5
@578n.jhansisri5 10 месяцев назад
@@CSCORNERSunitaRai Thanks for your time mam.
@omiv3rse-ko6ov
@omiv3rse-ko6ov Год назад
maam the printwriter line is not visible can u please tell what is was 14:30
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
PrintWriter out=response.getWriter();
@Mohanapriya.Chandana
@Mohanapriya.Chandana 9 месяцев назад
for me errors are not clearing after organizing imports
@CSCORNERSunitaRai
@CSCORNERSunitaRai 9 месяцев назад
You need to java.sql
@avranj
@avranj 2 года назад
maam like servlet we are using in it, don't we need .xml file to map the servlet????
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
While creating servlet we hv check mark web.xml. So no need to do manual mapping
@jayasaideepika2001
@jayasaideepika2001 Год назад
I am not getting the option dynamic web project
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Did you changed perspective? Change from java to java ee
@sakshipatanker8408
@sakshipatanker8408 2 года назад
Mam if we use postgresql the same process will be followed for connectivity purpose??
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Yes steps are going to same only jdbc driver and connector will change. Download connector for postgresql and use it.
@codewithsandesh7824
@codewithsandesh7824 9 месяцев назад
Why to choose dynamic project
@CSCORNERSunitaRai
@CSCORNERSunitaRai 9 месяцев назад
For web project
@codewithsandesh7824
@codewithsandesh7824 9 месяцев назад
@@CSCORNERSunitaRai ok but it's necessary to create the dynamic web project there's no other option
@khushimulla8363
@khushimulla8363 Год назад
Will u plz provide a code when we will add user name and password and click on login button it should get stored in database and display msg login successfully
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Join my telegram.. Already shared
@khushimulla8363
@khushimulla8363 Год назад
Ok
@user-yj6ss7gs7c
@user-yj6ss7gs7c Год назад
You are the best thank you so much
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 месяцев назад
You're welcome😊please subscribe👍
@mysterymind7978
@mysterymind7978 Год назад
Mam would please share the LoginServlet code if possible mam.
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
I'll check if I have then definitely
@Mohanapriya.Chandana
@Mohanapriya.Chandana 9 месяцев назад
what is this com.mysql.cj.jdbc.Driver which you specified in class parameters
@CSCORNERSunitaRai
@CSCORNERSunitaRai 9 месяцев назад
This is driver name
10 месяцев назад
Hello, it doesn't work for me, I don't get successful login, I use workbench 8.0.34, and the connector I use is 8.0.30, greetings
@CSCORNERSunitaRai
@CSCORNERSunitaRai 10 месяцев назад
Ohk R u getting any error?
10 месяцев назад
hello, well i got this eror message : HTTP Status 404? Not found Type Status Report message The required resource [/Login/welcome.jps] is not available Description The required resource is not available. Apache Tomcat/9.0.82 @@CSCORNERSunitaRai
@pahadi_cinematics
@pahadi_cinematics 9 дней назад
Mam 😭😭😭😭😭😭😭😭😭😭your are the best
@aartiandhale7849
@aartiandhale7849 8 месяцев назад
really helped a lot❤
@jitendrasingh63636
@jitendrasingh63636 5 месяцев назад
Good mam
@CSCORNERSunitaRai
@CSCORNERSunitaRai 5 месяцев назад
You're welcome!👍Please subscribe 😊
@avranj
@avranj 2 года назад
maam but, error 405 is coming method not allowed
@bhanuloveyou3242
@bhanuloveyou3242 9 месяцев назад
Hey buddy, change get to post else post to get
@shuubhamvargankar4656
@shuubhamvargankar4656 Год назад
PrintWriter out = response.getWriter(); Code which is not visible on line number 25 at the @14:34 min
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
response.setContentType("text/html")
@josejimenez2862
@josejimenez2862 Год назад
What is the difference between JSP and HTML?
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
In jsp u can write logic along with designing. But in html only design
@SuhanasCreations
@SuhanasCreations 2 года назад
Well explained 👍
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Thank you so much👍
@kanalaranganadhreddy2133
@kanalaranganadhreddy2133 Год назад
now i am running login.jsp file but it says HTTP status not found---what is the solution for this
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Did you kept your jsp file in web apps folder
@kanalaranganadhreddy2133
@kanalaranganadhreddy2133 Год назад
Yess mam
@surbhisinghal2929
@surbhisinghal2929 Год назад
U r great mam ❤
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
It's my pleasure! You're welcome👍 please subscribe 😊
@Akash-mw1lo
@Akash-mw1lo 8 месяцев назад
Mam at 1.05 I have the same issue with Jakarta how to solve it mam?.. please help me mam
@user-oh5nn1pp8v
@user-oh5nn1pp8v 7 месяцев назад
Mam iam getting error in creating printwrite object
@CSCORNERSunitaRai
@CSCORNERSunitaRai 7 месяцев назад
Join my telegram and share me error pic
@sonugupta2972
@sonugupta2972 2 года назад
I'm getting HTTP Status 404 /Login/Welcome.jsp type status report error
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
It means it's not able to locate Welcome.jsp file. Check name whether it's proper or not
@sonugupta2972
@sonugupta2972 2 года назад
@@CSCORNERSunitaRai Thank you mam Now all error resolve
@Anmol_Sharma.
@Anmol_Sharma. 11 месяцев назад
Welcome page not showing neither else part is showing
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 месяцев назад
what error u are getting?
@Anmol_Sharma.
@Anmol_Sharma. 11 месяцев назад
@@CSCORNERSunitaRai when I log in to the page. It does not show a welcome message or login failed message.
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 месяцев назад
@@Anmol_Sharma. Is it showing error on console?
@Anmol_Sharma.
@Anmol_Sharma. 11 месяцев назад
@@CSCORNERSunitaRai no nothing shows. It shows a blank page. It let's me log in successfully... but it doesn't show the message of login successful. And when i entered the wrong credentials then it also led me to the next page but it didn't show me the login failed message and a Try again! Link . I have verified the codes. It is the same as yours. But still I found this trouble.
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 месяцев назад
@@Anmol_Sharma. Send me code on my telegram channel cscorner
@user-cs4ej6jm6r
@user-cs4ej6jm6r Год назад
mam I have selected version 2.5 and it throws an error that version 2.5 was not on java build path. What I have do mam.
@divanny8802
@divanny8802 6 месяцев назад
Thanks so much!!!!!
@CSCORNERSunitaRai
@CSCORNERSunitaRai 3 месяца назад
Glad my video helped u! Most welcome 😊Please subscribe
@BruddaRobb
@BruddaRobb Год назад
THANK YOU !!!!!!!!
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Glad my video helped you😊Please subscribe
@Sakthi_Vinu
@Sakthi_Vinu 11 месяцев назад
How to find jdbc driver path?
@CSCORNERSunitaRai
@CSCORNERSunitaRai 11 месяцев назад
In your project check referenced library
@Sakthi_Vinu
@Sakthi_Vinu 11 месяцев назад
@@CSCORNERSunitaRai thank you got it
@AlokKumar-ot9sx
@AlokKumar-ot9sx 2 года назад
Hi I have a question. How to add JSTL jar files in Eclipse(2021 version)
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
You need to paste jstl.jar and standard. jar files to tomcat lib folder
@AlokKumar-fh9gy
@AlokKumar-fh9gy 2 года назад
@@CSCORNERSunitaRai thanks Is there any official way to get these? Like any official website
@-Corvo_Attano
@-Corvo_Attano Год назад
mam can we store the inputs like name, mail in jsp page in Mysql database?
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Yes yes
@-Corvo_Attano
@-Corvo_Attano Год назад
@@CSCORNERSunitaRai i just modified the code to store the html inputs in Mysql database. Thanks for this Video mam :) Thanks for your explanation ♥
@morisakitaku4066
@morisakitaku4066 6 месяцев назад
i put the correct username and password and i get a blank page . i can call both login and welcome files just fine.
@Calvin-rt2ls
@Calvin-rt2ls 6 месяцев назад
make sure you put the jar file in the tomcat lib folder
@divyhome9776
@divyhome9776 2 года назад
Well explained
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Thank you!
@Ellasmagicpan
@Ellasmagicpan 2 года назад
Interesting tutorial
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Thank you so much👍
@user-hd1jo2kd7l
@user-hd1jo2kd7l 6 месяцев назад
Hello Ma'am actually Im facing troble to add mysql connector in server runtime so can i add connector in classpath.
@CSCORNERSunitaRai
@CSCORNERSunitaRai 6 месяцев назад
U can add to lib folder
@AlokKumar-ot9sx
@AlokKumar-ot9sx 2 года назад
Hi Thanks for your tutorial. What does rs.next() do in above program and which part validates whether user name and password are correct or not?
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
You're welcome👍 rs.next() moves your cursor to point to your records
@SimplySuman
@SimplySuman 2 года назад
Thank you ma'am 🙏
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Keep watching!
@shekarreddy4340
@shekarreddy4340 Год назад
run on server not working mam
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
What error u r getting?
@karunamoorthy7823
@karunamoorthy7823 4 месяца назад
Liginservelet JSP file 24 line please send me mam. Printwriter out=response
@CSCORNERSunitaRai
@CSCORNERSunitaRai 4 месяца назад
response.getWriter() ;
@karunamoorthy7823
@karunamoorthy7823 4 месяца назад
Thankyou mam
Далее
Fake watermelon by Secret Vlog
00:16
Просмотров 2,7 млн
Первый день школы Катя vs Макс
19:37
Java Database Connectivity | JDBC
20:34
Просмотров 268 тыс.
LOGIN Form with MYSQL Database JDBC | JAVA SWING GUI
22:48