Today, in programming everybody wants login page of own website, where a user simple enter own UserName and Password and then further.... here required of users , very simple java programms. The following are two programs one Java Servlet Server side and one HTML Client Side. HTML Program Admin/User's Autentication Page where Admin/User will enter own UserName and Password, If both are correct then records will open from M.S.Acces's Table [Authenticated] and welcome page will open, If both are incorrect then error page will open and try again message will display. Both programs are very simple & easy to use, For this first of all you need to create a M.S.Access database or SQL... but in this example I'm using M.S.Access. Create one table in M.S Access as shown below:
Table Definitions:
Table Name | : [Authenticated.mdb] - Download |
Primary Key | : ID |
Foreign Key | : Nil |
Column Definition:
Column Name | Data Type |
ID | AutoNumber |
UserName | Text |
Password | Text |
Table Description:
Column Name | Description |
ID | Create AutoNumber for UserID |
UserName | for a UserName for example Bintu or something.... |
Password | for a Password for example 123456 or something... |
|
|
User's Autentication Table |
|
All_Classes_2011_12 Table |
After create table in M.S. Access database now you will create
DSN.
Login.HTML
Now, second java servlet program...
UserLogin.java
"Start -> All Programs -> Apache Tomcat 4.0 -> Start Tomcat." and minimize window
How to Install Apache Tomcat 4.0 then Click Here
and for Download Apache Tomcat 4.0 then Click Here
Now compile the above both code using javac compiler...
Now, copy "UserLogin.class" File from c:/jdk1.4/bin/ and then paste it under below dir...
"C:/Program Files/Apache Tomcat 4.0/webapps/examples/WEB-INF/classes/"
or use below command
or you can use "*.class" for copy all classes...
Now Open any web browser and type client side URL into address bar as below...
|
User's Autentication Page |
|
Error Page (If Password is wrong) |
|
Final Welcome Page of School-Management-System |
Complete Source Code of USER-AUTENTICATION PAGE With Database - Download
Hi,
ReplyDeleteI read your article, you’re describing of expression is excellent and the most valuable thing is, your attracting topic declaration. I really enjoyed and great effort.
Thanks for sharing!
thanks for this informative tutorial.. I am really glad I have found this information
ReplyDeleteHello world in C programming
Thanks for sharing this tutorial.I would like to suggest
ReplyDeletejava training in velachery for better tutorial and job assistance
Thanks for sharing valuable information.
ReplyDeleteJava Training with Placements
Thank you for sharing such knowledgeable post its not only helpful for the old but also new student for better preparation. I just share your post with my friends so that they can also read your post. Training Institute on Advance Java.
ReplyDeleteIt’s hard to come by experienced people about this subject, but you seem like you know what you’re talking about! Thanks
ReplyDeleteJava Training Center in Bangalore
Best Java development service in houston @ Affordable java developer service in USA
ReplyDeleteVery useful information provided. As a JAVA training institute ACL IT academy appreciate such blogs. Thanks and regards
ReplyDeleteACL IT academy- Java Training Institute in Kolkata
Very impressive article! The blog is highly informative and has answered all my questions. To introduce about our company and the activities, Pegasi Media Group is a database provider that helps you to boost your sales & grow your business through well-build Java user list
ReplyDeleteAwesome post. You Post is very informative. Thanks for Sharing.
ReplyDeleteCore Java Course in Noida
Hi there I am so thrilled I found your website, I really found you by mistake, while I was browsing on Yahoo for something else, Anyhow I am here now and would just like to say thanks a lot for a tremendous post and an all-round exciting blog (I also love the theme/design), I don’t have time to go through it all at the minute but I have saved it and also added in your RSS feeds, so when I have time I will be back to read more, Please do keep up the awesome job.Surya Informatics
ReplyDeleteThanks for sharing,nice article.
ReplyDeleteAWS Training in Hyderabad
Best AWS Training in Hyderabad
AWS Online Training
AWS Training Online
AWS Training In Bangalore
Best devops online training institute.they are giving complete core subject of devops.and i am very thankfull for this institute.
ReplyDeleteThanks for sharing the good post.
ReplyDeleteMachine Learning training in Pallikranai Chennai
Pytorch training in Pallikaranai chennai
Data science training in Pallikaranai
Python Training in Pallikaranai chennai
Deep learning with Pytorch training in Pallikaranai chennai
Bigdata training in Pallikaranai chennai
Mongodb Nosql training in Pallikaranai chennai
Spark with ML training in Pallikaranai chennai
Data science Python training in Pallikaranai
Bigdata Spark training in Pallikaranai chennai
Sql for data science training in Pallikaranai chennai
Sql for data analytics training in Pallikaranai chennai
Sql with ML training in Pallikaranai chennai
Great Work thanks for sharing this article best java course center in coimbatore
ReplyDeletejava training in coimbatore
Top 10 java training institute in coimbatore
I'm too lazy to sign up an account just for comment your article. it's really good and helping dude. thanks!Java Training Institute in Delhi
ReplyDeleteGood Post. I like your blog. Thanks for Sharing.
ReplyDeleteCore JAVA Training in Noida
It was a very good experience,Faculty members are very knowledgeable and cooperative. Specially My trainer teaching more as he focused upon practical rather than theory. All together it was an enlightening and informative course.
ReplyDeleteadvanced java training institutes in bangalore
advanced java training in bangalore
best advanced java training institutes in bangalore
advanced java training course content
advanced java training interview questions
advanced java training & placement in bangalore
advanced java training center in bangalore
https://www.vishalbhardwaj.com/2020/07/Commerce-Business-Administration.html
ReplyDeletehttps://www.vishalbhardwaj.com/2020/07/Commerce-Notes.html
https://www.vishalbhardwaj.com/2020/06/what-is-data-structure.html
https://www.vishalbhardwaj.com/2020/07/CPP-in-Hindi.html
Hi, thanks for this informative tutorial.. We are technology/news/smartphone company, If you want to read such useful news then Visit us: https://techmie.com/
ReplyDeleteJava Course in Delhi And Contact us:- +91-706-527-1000
ReplyDeleteThanks for sharing as it is an excellent post would love to read your future post Advance Java Training Institute In Bangalore | Dot Net Training Institute In Bangalore | Ms Access Training Institute In Bangalore
ReplyDeleteThanks for the post ,
ReplyDeleteMobile Development Agency
Thanks for sharing this Information. Java Training in Gurgaon
ReplyDeletethank you bro
ReplyDeleteFor core to advanced java and .net
It was a very good experience,Faculty members are very knowledgeable and cooperative. Specially My trainer teaching more as he focused upon practical rather than theory.
ReplyDeleteJava Developer Jobs available in Chennai
It was so good seeing your website and your content is so accurately put which will be so useful for people to get some understanding quick, if such topics intrigue you you can check out data science course in bangalore
ReplyDeleteThanks for sharing// article is good.Dot Net Developer Jobs available in Chennai
ReplyDeleteThanks for sharing. article is good.
ReplyDeleteJava developer job available in Chennai
Great Post. Very informative. Keep Sharing!!
ReplyDeleteJoin Online Java Classes
For more details about the course fee, duration, classes, certification, and placement call our expert at 70-70-90-50-90