JSP & Servlets
1.0.0
1.0.0
  • Setting up
  • Pre-requisites
  • Servlet Part 1
  • Servlet Part 2
  • Understanding the servlet
  • Servlet XML Configuration
  • POST method and passing parameters
  • Passing more parameters
  • Understanding GET and POST
  • Request, Session and Context Part -1
  • Request , Session and Context Part - 2
  • Understanding init, service and ServletConfig
  • Hello JSP
  • Understanding JSP
  • JSP Page directives
  • HttpServletRequest Path Decoding
  • Scopes in JSP and the PageContext Object
  • Understanding MVC pattern
  • PART -1 Writing an MVC app
  • JSTL
    • For-each
  • CRUD-1
  • Project Work
    • Create a Simple Java Web Application Using Servlet, JSP/JSTL and JDBC/Transaction
  • Locale Filter
  • Action Plan
    • Schedule
    • Hit webservice
Powered by GitBook
On this page
  • Task-1 : Create one Employee form and save data in static ArrayList.
  • Development Steps :
  • Task-2 : Create a link to redirect to login page.
  • Development Steps :
  • Task-3 : Create Login bean and a servlet to authenticate.
  • Task-4 : Redirect to error.jsp if wrong cred.
  • Task-5 : Set session if right cred and navigate to emphome.jsp with logged in user details.

Was this helpful?

PART -1 Writing an MVC app

Task-1 : Create one Employee form and save data in static ArrayList.

Development Steps :

  1. Create a dynamic Web Project.

  2. Create register.jsp.

  3. Create a servlet and and call POST.

  4. Create a bean with name Employee.

  5. Set data in empoyee bean from request data.

  6. Create EmployeeService, EmployeeServiceImpl , EmployeeDAO , EmployeeDAOImpl

  7. Create One Virtual DB and put values in arraylist.

Task-2 : Create a link to redirect to login page.

Development Steps :

  1. Create a link "Login" in the previous home page.

  2. Create a login.jsp

  3. After successful creation of EMP , use SendRedirect method to navigate to login.jsp

Task-3 : Create Login bean and a servlet to authenticate.

Task-4 : Redirect to error.jsp if wrong cred.

Task-5 : Set session if right cred and navigate to emphome.jsp with logged in user details.

PreviousUnderstanding MVC patternNextJSTL

Last updated 5 years ago

Was this helpful?