Thursday, 13 October 2016

JSP Servlet Login Logout Register Application MVC Approach - Part 2

Hello everybody!

Welcome to the second part of the post! You can see the Part 1 here. Let's get on with the project.

We can now create all the jsp pages. Some of these pages will be page templates and some of them will be sending form information to the Servlets that we created in the previous post.

Friday, 7 October 2016

JSP Servlet Login Logout Register Application MVC Approach - Part 1

Hello everybody,

I recently developed a basic login logout register application using JSP and Servlets. This time I wanted to use MVC in the project structure. So that the project is easy to handle, extend and change. This will be relatively long post, so I will try to divide it into two or more parts.

Monday, 5 September 2016

Servlet Login Logout Example Using Session

Hello everybody!

Here is the second version of the "Servlet Login Logout Example". This time I used session instead of cookies. The code and the appearance of the pages are pretty such the same with the first version. I will still add everything here to provide an easy flow for you.

Thursday, 18 August 2016

"Eclipse Failed To Load The JNI Shared Library" Error

Hello everybody,

My beloved Eclipse has been giving me this error since yesterday after I installed a software. While installing the new software, I must have changed some setting without noticing. So today I was determined to solve this problem because I want to keep working on my new project. After some searches on Google, I found the solution.

Tuesday, 16 August 2016

Servlet Login Logout Example Using Cookies

Hello everybody!

There is a project I developed quite some time ago - Simple Servlet Login Logout Example Using Cookies. Using some controls, I checked if the user logged in before reaching a certain page. There is no database connection in this project so do not keep your hopes too high :D I will only share basic points about cookies in the project. Because the rest is not a big deal. You can benefit more from my other project explanation posts if you are interested in the rest.

Thursday, 11 August 2016

Beer Suggestion Application - Head First Servlet and JSP Book

Hello everybody!

When I first started to teach myself about Servlet and JSP(because these two are like JavaEE-101), I was looking for a reference book that can give me the logic and make me understand everything clearly. That book is "Head First Servlets and JSP". So I definitely recommend this book if you are new to JavaEE and looking for somewhere to start or you are preparing for an exam. I read this book now and then and tried to experiment all the small task the book gives to readers. One of those tasks was "Beer Suggestion Project" which is very basic yet again very suitable for beginners. Here in this post you can find that project(you can also find it in the book though :)).

My project structure was like below at the end.