Writing Hibernate Configuration Files
In the previous section we completed the database setup and created required table and populated with the data. In this section we will write required hibernate configuration files. For this tutorial we need following Hibernate configuration files: Hibernate Configuration File Hibernate configuration file (hibernate.cfg.xml) is used to provide the information which is necessary for making […]
Downloading Struts & Hibernate
In this we will download Struts & Hibernate and setup the development environment. Downloading Hibernate Hibernate is free open source software it can be download from http://www.hibernate.org/. Visit http://www.hibernate.org/ and then click on the Download link to go to the download page. From the download page download the current latest release of Hibernate Core. For […]
Setting up MySQL Database and Tables
I am assuming that you have running instance of MySQL Database and you know how to work with the MySQL database. To access the database you should have valid user name and password. Let’s now start by creating the database for our struts- hibernate integration tutorial. Our application is very very simple and it searches […]
Struts Hibernate Integration
In this tutorial I will show you how to integrate Struts and Hibernate. After completing this tutorial you will be able to use Hibernate in your Struts project. We will be using Hibernate Struts plug-in to write high performance application using Struts and Hibernate. Hibernate is Object-Oriented mapping tool that maps the object view of […]
Struts 2 Tutorials
Struts 2 Tutorials Introduction to Struts 2Introduction to Struts 2 framework. Struts Hibernate Integration Tutorial NEWIn this tutorial I will show you how to integrate Struts and Hibernate. After completing this tutorial you will be able to use Hibernate in your Struts project. Download the source code of Struts Hibernate Integration Tutorial. Struts Hibernate Integration […]
Logic Present Tag (…)
present tag -This tag evaluates its nested body contents if the specified value is present in the request. This tag checks the current request and depending on which attribute is specified, it evaluates the nested body content of this tag only if the specified value is present. Attributes of Present Tag Attribute Name Description cookie […]
Logic Match Tag (…)
match tag – We use this tag to evaluate the contents contained in the nested body parts of this tag if the specified value is an appropriate substring of the requested variable. This tag matches the variable specified as a String against the specified constant value. If the value is a substring then the nested […]
Logic LessEqual Tag (…)
lessEqual Tag – If the requested variable is either less or equal to the specified values then we use this tag to evaluate the contents contained in the nested body parts of this tag. This tag compares the variable against the specified constant value. If the variable is less than or equal to the specified value […]
Logic greaterEqual Tag (… )
empty tag – if the requested variable is greater than or equal to the specified value then this tag is used to evaluate the contents contained in the nested body parts of this tag. This tag compares the variable against the specified constant value. If the variable is greater than or equal to the specified value […]
Logic Equal Tag (…)
equal tag – if the requested variable is equal to the specified value then this tag is used to evaluate the contents contained in the nested body parts of this tag. Compares the variable passed against the specified constant value. The nested body content of this tag is evaluated if the variable and value are equal. […]