Tutorial Archive

JSP Page Directive

Page Directives in JSPs are instruction from JSPs to JSP Engine. The page directive is used to provide instructions to the container that pertain to the current JSP page. You may code page directives anywhere …

JSP Directives

JSP directives provide directions and instructions to the container, telling it how to handle certain aspects of JSP processing. Directives in JSPs are instruction from JSPs to JSP Engine. Directives are classified in 3 categories: …

Struts 2 Database Access

In this chapter we will teach you how to access a database using Struts 2 in simple steps. Struts is a MVC framework and not a database framework but it provides excellent support for JPA/Hibernate …

Struts 2 Result Types

As mentioned previously, the <results> tag plays the role of a view in the Struts2 MVC framework. The action is responsible for executing the business logic. The next step after executing the business logic is …