Custom Interceptor in Struts 2
Custom Interceptor in Struts 2 What are Interceptors? Interceptors are used for performing operations like Validation, file upload, exception handling etc. Advantages of Interceptors: Separation of Concerns, If we need…
Interceptors in Struts2
Interceptors in Struts2 What are Interceptors? Interceptors are used for performing operations like Validation, file upload, exception handling etc. Advantages of Interceptors: Separation of Concerns, If we need to remove…
JSF Hibernate Integration (CRUD Example)
JSF Hibernate Integration (CRUD Example) Code to integrate JSF with Hibernate and perform Create, Read, Update and Delete operations. This code is tested in Netbeans with MySQL Database. Creating Project:…
Context Parameter and Init Parameter in Servlets
Context Parameter and Init Parameter in Servlets The deployment descriptor can include configuration information for Servlet. There are 2 types of Parameters, Context Parameters Init Parameters Context Parameter Init Parameter…
Dynamic Navigation in JSF (Rule-Based Navigation)
Dynamic Navigation in JSF (Rule-Based Navigation) What is Navigation: A website is a collection of web pages. Moving between web pages of a website is known as Navigation. User can…