<%@ page language="java" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> Test struts-logic Match Tags

Test struts-logic Match Tags

<% pageContext.setAttribute("string", "String test value"); %>
Test Type Variable Content Value Content Correct Value Test Test Result
Cookie / Any 0 contains match notMatch
Cookie / End 0 ends with match notMatch
Cookie / Start 0 starts with match notMatch
Header / Any Mozilla contains match notMatch
Header / End Mozilla ends with match notMatch
Header / Start Mozilla starts with match notMatch
Name / Any value contains match notMatch
Name / End value ends with match notMatch
Name / Start value starts with match notMatch
Parameter / Any value1 contains match notMatch
Parameter / End value1 ends with match notMatch
Parameter / Start value1 starts with match notMatch
Property / Any FOO contains match notMatch
Property / End FOO ends with match notMatch
Property / Start FOO starts with match notMatch