Тёмный

Login using Servlet and JSP 

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

In this video, you will learn the Creation of the Login Page using JSP and Servlet. A Simple JSP & Servlet User login page Example using Eclipse IDE. Also, I have used HttpSession for the Logout module
The control goes from the JSP Login page to a Servlet on submitting the form. The servlet further checks username and password with predefined values, if matches it redirects the user to the success page and shows a welcome message. If login fails it shows the login page again. If the user clicks on the logout button session is terminated.
This is a basic web application using Servlet and JSP.
Steps:
-how to create a login form using Servlet and JSP in Java
-how to create HttpSession for validation
-how to prevent access to specific pages to the users who are not logged in
i.e. show or display pages to only logged in users.
-if user is not logged in then show user login page or redirect the user to login page
else show the page
-----------------------------------------------------------------------
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/...
------------------------------------------------------------------------
CONNECT WITH ME ON:
►Facebook - / cscornersunitarai
►Personal Facebook A/c - / sunita.sharmarai
►Instagram - / cscornersunitarai
►Telegram - t.me/cscorner
►LinkedIn - / cscornersunitarai
------------------------------------------------------------------------
#servlet #jsp #loginpage
#java
#javaprogramming
#javatutorialforbeginners
#GUI
Subscribe to CS Corner Sunita Rai for more videos!
Like! Subscribe! Share!
Stay tuned!
PS: Some of the links in this description are affiliate links that I get a kickback from
------------------------------------------------------------------------
Servlet class example
servlet example program
what is servlet class in Java
what is JSP
JSP example program
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
how to build login app using servlet and jsp,login form creation,login jsp example,login jsp servlet example,servlet login example,simple login jsp,simple servlet login,jsp login tutorial,servlet login tutorial,Login page using servlet,JSP example program,user login page,Create a simple login page using JSP and Servlet,jsp,login using servlet,login page in java,login web page,login page web design,login page website,jsp and servlet,java servlet,servlets

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

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 81   
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Got a question on this topic? Please share through comments or reach us on telegram t.me/cscorner
@dragonhot6951
@dragonhot6951 Год назад
please do Start uploading the code as well
@sameenakhan1975
@sameenakhan1975 Год назад
Hello mam , iI wants to say that your explanation is amazing .I needed Servlet videos in series for proper understanding.
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Will try to upload soon👍☺please subscribe
@Sahilkhan-jd5fz
@Sahilkhan-jd5fz Год назад
Your explanation was crisp easy and thoughtful.
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Glad you liked it😊 plz subscribe😊👍
@happycareerjourney
@happycareerjourney Год назад
Mam Your all videos are helping me to learn out java program
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
You're welcome!👍please subscribe😊
@amarendrakumar-kl7rb
@amarendrakumar-kl7rb Год назад
Your Teaching Method Is Very Good Mam
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Thanks a lot😊please subscribe 👍
@NareshBojja-k2t
@NareshBojja-k2t Год назад
Thank you madam you did so much for us Please do some more video on servlet + Jsp . Its helpful so many people like me
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Noted.. You're welcome 👍please subscribe 😊
@nanabhau_udhan
@nanabhau_udhan 2 года назад
Thank you mam your voice and teaching technique is very clear 🥰
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
That's great👍keep watching
@saireddy9861
@saireddy9861 Год назад
When I am running input JSP it showing selection cannot be run on any server reply please 😢
@anburaaaja
@anburaaaja 8 месяцев назад
Good Explanation, where do i get this source code to learn on these. Thanks
@CSCORNERSunitaRai
@CSCORNERSunitaRai 8 месяцев назад
JOIN MY TELEGRAM
@suyakisaneeshwar8506
@suyakisaneeshwar8506 2 года назад
Woow ... really fantastic medam .. i am very proud of subscribe your channel medam.. thank u so much and wish you happy diwali medam
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Glad you liked my contents 👍keep watching
@Akashgupta-pp8tu
@Akashgupta-pp8tu 2 года назад
Thank you soo much for this amazing topic....
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Glad you liked it👍
@jyotsnamasand2414
@jyotsnamasand2414 2 года назад
Hi ma'am, thanks for the wonderful explanation. It would be great if you can explain why rd.include(request, response) allows printing of the message on input.jsp. Thanks in advance.
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
I'm Glad you liked it👍 Include method purpose is to include output of other files(jsp/html/servlet). Hence its showing output on input.jsp. Hope I answered your query. Do explore my channel for such more contents👍
@Programyourmindset
@Programyourmindset 2 года назад
Thanks professor sunita 😉
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
You're welcome👍
@PharmaceuticalConcepts_Ojaswi
@PharmaceuticalConcepts_Ojaswi 2 года назад
Very good explanation
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Thank you 👍
@yaswanthbhanu8565
@yaswanthbhanu8565 Год назад
Hello Mam while running it on tomcat server version 10 it is showing the following error Type Status Report Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists Please help me with this.
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Check port no
@yaswanthbhanu8565
@yaswanthbhanu8565 Год назад
@@CSCORNERSunitaRai there they were two port nos 8080 and 8085 which one we need to give for the url ?
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
@@yaswanthbhanu8565 send pic on my telegram channel
@yaswanthbhanu8565
@yaswanthbhanu8565 Год назад
@@CSCORNERSunitaRai sent it mam pls check it
@abadiallo709
@abadiallo709 Год назад
hi by the way if we want it to display the names of users already connected, in mm temp to say the name of the person who just connected (like in the video)
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
You can use session management
@abadiallo709
@abadiallo709 Год назад
@@CSCORNERSunitaRai Do you have a video on this or a tutorial and even a link to give me so that I can do this practical work?
@Rajkumarsurya711
@Rajkumarsurya711 Год назад
super all videos
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
You're welcome👍 please subscribe😊
@sisa213
@sisa213 9 месяцев назад
Really helpful. Thanks!
@CSCORNERSunitaRai
@CSCORNERSunitaRai 8 месяцев назад
Glad it was helpful! Please subscribe😊
@ArtiqueKaavya
@ArtiqueKaavya 2 года назад
Very nice madam
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Thank you so much👍
@aastha4708
@aastha4708 9 месяцев назад
very nice video proper login page with all points
@CSCORNERSunitaRai
@CSCORNERSunitaRai 8 месяцев назад
Thanks for liking! Please subscribe
@thesavageunicorn3064
@thesavageunicorn3064 2 года назад
Hi, I have a few problems with creating my program. It'd be so helpful, if you could help me.. I have tomcat v10 and my jar file is java1.8.0.. My jdk in Eclipse is Java 18. When I try to create a servlet file, It shows me the following errors. It shows me error on the servlet file. In this line, "public class samplelogin extends HttpServlet {" it shows error on the class name "samplelogin". The error is: "The hierarchy of the type samplelogin is inconsistent" Also, I couldn't do anything SQL related. I have added the jar file in classpath, but I couldn't add it in modulepath(Is it necessary?) I have added the jar file in lib folder also. I don't know what the problem is... Please help me out🥺
@thesavageunicorn3064
@thesavageunicorn3064 2 года назад
Also, For this login program, I didn't even use database. If there's a problem with the installation of tomcat, could you please tell me how to solve that? or how to delete and reinstall?
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Can you share your project hierarchy and error screenshots on my telegram group
@vaishnavgm1966
@vaishnavgm1966 Год назад
Hi im also facing the same error did u find any sollutions?
@Ellasmagicpan
@Ellasmagicpan 2 года назад
Interesting tutorial
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Thank you so much👍
@shankarshankar2235
@shankarshankar2235 2 года назад
Please upload the video for e commerce shopping website using jsp servlets, html, css and my sql
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Noted. Will try.
@gayandanushka4970
@gayandanushka4970 Год назад
Thank You ❤
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
You're welcome 🙂Please subscribe👍
@AbhigyanSundaram
@AbhigyanSundaram Год назад
Thank you so much 😊
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
You're welcome👍 plz subscribe
@SuhanasCreations
@SuhanasCreations 2 года назад
Nice 👍
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Thank you so much👍
@S3Allinone
@S3Allinone 2 года назад
Very nice
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Thank you 👍
@amithagolla6907
@amithagolla6907 2 года назад
clear demo
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
Glad you liked it👍
@sanikag1731
@sanikag1731 2 года назад
Thank you ma'am
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
You're welcome👍
@priyagade8788
@priyagade8788 2 года назад
Thank you mam
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
You're welcome👍 Do check my advanced java playlist
@howto4659
@howto4659 2 года назад
Thank you maaaam
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
You're welcome👍
@kondakabhargav1171
@kondakabhargav1171 2 года назад
Ma'am what is "uname"?
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
It's a name given for storing values in session. U can give any name
@kondakabhargav1171
@kondakabhargav1171 2 года назад
Thank you so much
@MANISHKUMAR-cg3oc
@MANISHKUMAR-cg3oc 2 года назад
Thankyou mam
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
You're welcome👍 keep watching
@AmoebaGameplays
@AmoebaGameplays 2 года назад
Thank you
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
You're welcome👍
@yadavbirendra777
@yadavbirendra777 Год назад
Getting error 404 please help
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Check your file name in action attribute
@priyapatel9951
@priyapatel9951 Год назад
Can u plz share me your code?
@CSCORNERSunitaRai
@CSCORNERSunitaRai Год назад
Yes join my telegram
@sriramj1502
@sriramj1502 Год назад
​@@CSCORNERSunitaRaii did , but there's no code there
@SimplySuman
@SimplySuman 2 года назад
Thanks ma'am 🙏
@CSCORNERSunitaRai
@CSCORNERSunitaRai 2 года назад
You're welcome👍
Далее
КТО БОИТСЯ КЛОУНОВ?? #shorts
00:20
Просмотров 609 тыс.
Login using Servlet and JSP practical  Part 1
17:35
Просмотров 447 тыс.