<%@ taglib uri="/tags/struts-bean" prefix="bean" %> <%@ taglib uri="/tags/struts-html" prefix="html" %> <%@ taglib uri="/tags/struts-logic" prefix="logic" %> Test html:link Tag<% String newValue = "New string value"; pageContext.setAttribute("newValue", newValue); java.util.HashMap newValues = new java.util.HashMap(); newValues.put("floatProperty", new Float(444.0)); newValues.put("intProperty", new Integer(555)); newValues.put("stringArray", new String[] { "Value 1", "Value 2", "Value 3" }); pageContext.setAttribute("newValues", newValues); %>

Test struts-html Link Tag

The following links should hyperlink back to this page, with various combinations of request parameters used to modify the previous values of the associated form bean. Press the "Cancel" button to return to the main menu.

Current Values
booleanProperty intProperty
doubleProperty longProperty
floatProperty stringProperty
stringArray
Hyperlinks To Be Tested via page attribute
No modifications at all
Double and long via hard coded changes
String via paramId and paramName
Boolean via paramId, paramName, and paramValue
Float, int, and stringArray via name (Map)
Hyperlinks To Be Tested via action and module attributes
No modifications at all, but link to the default module.
Double and long via hard coded changes (module)
String via paramId and paramName
Boolean via paramId, paramName, and paramValue (module)
Float, int, and stringArray via name (Map)
Reset and Cancel Buttons
Reset Cancel

The following list tests relative, context-relative, and absolute links. Press (back) to return.

Forwards

Actions

Pages