Overview of Struts Custom Tag Libraries: The nested tag library

The introduce of nested tags makes the tags can relate to each other . The nested structure sometimes adhere into the domain model. The nested tags will greatly simply the presentation code in that situation.

Nested means that one Bean can hold a reference to another Bean, in certain situation , the Beans are connected as network. The Bean hold the reference is the parent and the referenced Bean is the child.

Nested means that one Bean can hold a reference to another Bean, in certain situation , the Beans are connected as network. The Bean hold the reference .

Overview of Struts Custom Tag Libraries: The logic tag library

The logic tag library used to perform conditions, looping, and anything that requires iteration.

The comparison tags are equeal, notEqual, greaterEqual, lessEqual, greaterThan, lessThan, present and notPresent. Tags need a value to compare and the object being used. The object can be cookie, header, parameter, property or name.

JSP scopes explained

Scope is a very important concept in JSP , every Java developer should have a good understanding about this concept.

The scope of an object defines where its available and who can access it. Scope comes into play when dealing with various objects, also called Java Bean. The whole architecture of JSP is based on Java Beans. Java Beans are nothing but Java objects that follow a special pattern and naming rule.

The scope of an object defines where its available and who can access it. Scope comes into play when dealing with various objects, also called Java Bean. The whole architecture of JSP is based on Java Beans. Java Beans are nothing .

Overview of Struts Custom Tag Libraries: The bean tag library

The bean tag library is used to manipulate Java Beans includes Bean creation and rendering tags for specific Bean properties.

The JSP already provided jsp:useBean tag to manipulate the Beans. But Struts bean tag library provide a number of enhancements to the JSP tag. First, Struts bean tag defined an extended syntax available for Bean properties. Second, its easy to automatically create new Beans in all scopes from various objects. Third, it's possible to render textual output from a Bean that can be included in the JSP response.

The JSP already provided jsp:useBean tag to manipulate the Beans. But Struts bean tag library provide a number of enhancements to the JSP tag. First, Struts bean tag defined an extended syntax available for Bean properties. Second, its easy to .

Overview of Struts Custom Tag Libraries : html tag library

The Struts Custom Tag Libraries is heavily used in JSP when working with Struts framework. This post will give you an overview of these tags.

This tag library mainly used to generate user interface related HTML element like forms, buttons, selection box, input field...

PHP tutorial : How to output category tree

A very common situation in web development is the category tree, in its nature , its just a recursive traversal of a tree data structure. This post will demonstrate the method of generating a tree while traversing the data strucute.

Step 1. Create a database table to store the category data:

Introduction to Custom tag libraries and JSP

What makes JSP the struts enabled and powerful is the use of custom tag libraries.

Custom tags usually distributed in the form of tab library which defines the tags and the class that implement those tags.

Config Struts Subapplications

Struts 1.1 support multiple subapplications defined in web.xml. That means that you can break your application into various subapplications for better maintenance . For example, every person in the team can have their own config file without have to constantly check out the only one config file.

What's the different between servlet mapping and filter mapping

This would make some people confused because when you write filter, you can map a url pattern to a filter class, and when you config the Struts in web.xml, you use the servlet mapping which looks just like a filter mapping. Why there are two kind of mapping but doing the same thing ?

Struts Hibernate Spring tutorial example

This post not start from scratch , but based on Spring Hibernate integrate with DAO pattern applied. This tutorial already set up the spring and hibernate, this post will add struts into it.

So the first step is to copy the old project. Just copy the project and click on the blank of the package explorer panel and select paste.

Previous Page 1 ... 61 62 63 ... 68 Next Page