diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/wechat-master.iml b/wechat-master.iml index e3d97cf..047592e 100644 --- a/wechat-master.iml +++ b/wechat-master.iml @@ -1,5 +1,17 @@ + + + + + + + + + + + + diff --git a/wechat-master/web/WEB-INF/c-1_0-rt.tld b/wechat-master/web/WEB-INF/c-1_0-rt.tld index 1b8a4ef..5f89b55 100644 --- a/wechat-master/web/WEB-INF/c-1_0-rt.tld +++ b/wechat-master/web/WEB-INF/c-1_0-rt.tld @@ -29,55 +29,55 @@ org.apache.taglibs.standard.tlv.JstlCoreTLV - + Provides core validation features for JSTL tags. - + - catch + catch org.apache.taglibs.standard.tag.common.core.CatchTag JSP Catches any Throwable that occurs in its body and optionally exposes it. - + - var - false - false + var + false + false - choose - org.apache.taglibs.standard.tag.common.core.ChooseTag + choose + org.apache.taglibs.standard.tag.common.core.ChooseTag JSP Simple conditional tag that establishes a context for mutually exclusive conditional operations, marked by - <when> and <otherwise> + <when> and <otherwise> - if - org.apache.taglibs.standard.tag.rt.core.IfTag + if + org.apache.taglibs.standard.tag.rt.core.IfTag JSP Simple conditional tag, which evalutes its body if the supplied condition is true and optionally exposes a Boolean scripting variable representing the evaluation of this condition - + - test + test true true - boolean + boolean - var + var false false @@ -89,8 +89,8 @@ - import - org.apache.taglibs.standard.tag.rt.core.ImportTag + import + org.apache.taglibs.standard.tag.rt.core.ImportTag org.apache.taglibs.standard.tei.ImportTEI JSP @@ -98,61 +98,61 @@ to either the maxPage, a String in 'var', or a Reader in 'varReader'. - url + url true true - var + var false - false + false - scope - false - false + scope + false + false - varReader + varReader false false - context + context false true - charEncoding + charEncoding false true - forEach - org.apache.taglibs.standard.tag.rt.core.ForEachTag + forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag org.apache.taglibs.standard.tei.ForEachTEI JSP The basic iteration tag, accepting many different collection types and supporting subsetting and other functionality - + - items - false + items + false true - java.lang.Object + java.lang.Object - begin - false - true - int + begin + false + true + int - end + end false true int @@ -164,8 +164,8 @@ int - var - false + var + false false @@ -176,7 +176,7 @@ - forTokens + forTokens org.apache.taglibs.standard.tag.rt.core.ForTokensTag JSP @@ -213,13 +213,13 @@ int - var + var false false - varStatus - false + varStatus + false false diff --git a/wechat-master/web/WEB-INF/c-1_0.tld b/wechat-master/web/WEB-INF/c-1_0.tld index 152fa11..fe2de9c 100644 --- a/wechat-master/web/WEB-INF/c-1_0.tld +++ b/wechat-master/web/WEB-INF/c-1_0.tld @@ -19,7 +19,7 @@ PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> - 1.0 + 1.0 1.2 c http://java.sun.com/jstl/core @@ -33,33 +33,33 @@ expressionAttributes - out:value - out:default - out:escapeXml - if:test - import:url - import:context - import:charEncoding - forEach:items - forEach:begin - forEach:end - forEach:step - forTokens:items - forTokens:begin - forTokens:end - forTokens:step - param:encode - param:name - param:value - redirect:context - redirect:url - set:property - set:target - set:value - url:context - url:value - when:test - + out:value + out:default + out:escapeXml + if:test + import:url + import:context + import:charEncoding + forEach:items + forEach:begin + forEach:end + forEach:step + forTokens:items + forTokens:begin + forTokens:end + forTokens:step + param:encode + param:name + param:value + redirect:context + redirect:url + set:property + set:target + set:value + url:context + url:value + when:test + Whitespace-separated list of colon-separated token pairs describing tag:attribute combinations that accept expressions. @@ -78,9 +78,9 @@ exposes it. - var - false - false + var + false + false @@ -103,25 +103,25 @@ Like <%= ... >, but for expressions. - value - true - false + value + true + false - default - false - false + default + false + false - escapeXml - false - false + escapeXml + false + false - if - org.apache.taglibs.standard.tag.el.core.IfTag + if + org.apache.taglibs.standard.tag.el.core.IfTag JSP Simple conditional tag, which evalutes its body if the @@ -129,9 +129,9 @@ scripting variable representing the evaluation of this condition - test - true - false + test + true + false var @@ -139,14 +139,14 @@ false - scope - false - false + scope + false + false - import + import org.apache.taglibs.standard.tag.el.core.ImportTag org.apache.taglibs.standard.tei.ImportTEI JSP @@ -155,40 +155,40 @@ to either the maxPage, a String in 'var', or a Reader in 'varReader'. - url - true - false + url + true + false - var - false - false + var + false + false - scope - false - false + scope + false + false - varReader - false - false + varReader + false + false - context - false - false + context + false + false - charEncoding - false - false + charEncoding + false + false - forEach - org.apache.taglibs.standard.tag.el.core.ForEachTag + forEach + org.apache.taglibs.standard.tag.el.core.ForEachTag org.apache.taglibs.standard.tei.ForEachTEI JSP @@ -197,61 +197,61 @@ functionality - items - false + items + false false - begin + begin false false - end + end false false - step - false + step + false false - var + var false false - varStatus - false + varStatus + false false - forTokens + forTokens org.apache.taglibs.standard.tag.el.core.ForTokensTag JSP Iterates over tokens, separated by the supplied delimeters - items + items true false - delims + delims true false - begin + begin false false - end + end false false @@ -303,56 +303,56 @@ - redirect - org.apache.taglibs.standard.tag.el.core.RedirectTag + redirect + org.apache.taglibs.standard.tag.el.core.RedirectTag JSP Redirects to a new URL. - var + var false false - scope + scope false false - url + url true false - context + context false false - remove - org.apache.taglibs.standard.tag.common.core.RemoveTag + remove + org.apache.taglibs.standard.tag.common.core.RemoveTag empty Removes a scoped variable (from a particular scope, if specified). - var + var true false - scope + scope false false - set - org.apache.taglibs.standard.tag.el.core.SetTag + set + org.apache.taglibs.standard.tag.el.core.SetTag JSP Sets the result of an expression evaluation in a 'scope' @@ -385,25 +385,25 @@ - url - org.apache.taglibs.standard.tag.el.core.UrlTag + url + org.apache.taglibs.standard.tag.el.core.UrlTag JSP Prints or exposes a URL with optional query parameters (via the c:param tag). - var + var false false - scope + scope false false - value + value true false @@ -415,17 +415,17 @@ - when - org.apache.taglibs.standard.tag.el.core.WhenTag + when + org.apache.taglibs.standard.tag.el.core.WhenTag JSP Subtag of <choose> that includes its body if its condition evalutes to 'true' - test - true - false + test + true + false diff --git a/wechat-master/web/WEB-INF/c.tld b/wechat-master/web/WEB-INF/c.tld index a8822aa..f5eea66 100644 --- a/wechat-master/web/WEB-INF/c.tld +++ b/wechat-master/web/WEB-INF/c.tld @@ -1,5 +1,6 @@ + + JSTL core + 1.1 + c + http://java.sun.com/jsp/jstl/core + + + + + + + + - + + + + + Provides core validation features for JSTL tags. org.apache.taglibs.standard.tlv.JstlCoreTLV - + @@ -41,30 +54,42 @@ Catches any Throwable that occurs in its body and optionally exposes it. - catch - org.apache.taglibs.standard.tag.common.core.CatchTag - JSP + catch + org.apache.taglibs.standard.tag.common.core.CatchTag + JSP Name of the exported scoped variable for the exception thrown from a nested action. The type of the scoped variable is the type of the exception thrown. - var - false - false + var + false + false + + + + + + + + + + + + Simple conditional tag that establishes a context for mutually exclusive conditional operations, marked by <when> and <otherwise> - choose - org.apache.taglibs.standard.tag.common.core.ChooseTag - JSP + choose + org.apache.taglibs.standard.tag.common.core.ChooseTag + JSP @@ -73,18 +98,31 @@ scoped variable is the type of the exception thrown. supplied condition is true and optionally exposes a Boolean scripting variable representing the evaluation of this condition - if - org.apache.taglibs.standard.tag.rt.core.IfTag - JSP + if + org.apache.taglibs.standard.tag.rt.core.IfTag + JSP + + + + + + + + + + + + + The test condition that determines whether or not the body content should be processed. - test - true - true - boolean + test + true + true + boolean @@ -92,17 +130,17 @@ Name of the exported scoped variable for the resulting value of the test condition. The type of the scoped variable is Boolean. - var - false - false + var + false + false Scope for var. - scope - false - false + scope + false + false @@ -111,9 +149,9 @@ Scope for var. Retrieves an absolute or relative URL and exposes its contents to either the maxPage, a String in 'var', or a Reader in 'varReader'. - import + import org.apache.taglibs.standard.tag.rt.core.ImportTag - org.apache.taglibs.standard.tei.ImportTEI + org.apache.taglibs.standard.tei.ImportTEI JSP @@ -121,7 +159,7 @@ The URL of the resource to import. url true - true + true @@ -172,6 +210,19 @@ resource. + + + + + + + + + + + + + The basic iteration tag, accepting many different @@ -258,35 +309,61 @@ visibility. Iterates over tokens, separated by the supplied delimeters - forTokens - org.apache.taglibs.standard.tag.rt.core.ForTokensTag - JSP + forTokens + + + + + + + + + + + + + + org.apache.taglibs.standard.tag.rt.core.ForTokensTag + JSP String of tokens to iterate over. - items - true - true - java.lang.String + items + true + true + java.lang.String + + + + + + + + + + + + + The set of delimiters (the characters that separate the tokens in the string). - delims - true - true - java.lang.String + delims + true + true + java.lang.String Iteration begins at the token located at the specified index. First token has index 0. - begin - false + begin + false true int @@ -295,8 +372,21 @@ specified index. First token has index 0. Iteration ends at the token located at the specified index (inclusive). - end - false + end + + + + + + + + + + + + + + false true int @@ -305,10 +395,10 @@ specified index (inclusive). Iteration will only process every step tokens of the string, starting with the first one. - step + step false true - int + int @@ -316,9 +406,9 @@ Name of the exported scoped variable for the current item of the iteration. This scoped variable has nested visibility. - var - false - false + var + false + false @@ -329,9 +419,9 @@ javax.servlet.jsp.jstl.core.LoopTag Status. This scoped variable has nested visibility. - varStatus - false - false + varStatus + false + false @@ -340,8 +430,8 @@ visibility. Like <%= ... >, but for expressions. out - org.apache.taglibs.standard.tag.rt.core.OutTag - JSP + org.apache.taglibs.standard.tag.rt.core.OutTag + JSP Expression to be evaluated. @@ -387,14 +477,14 @@ true. Adds a parameter to a containing 'import' tag's URL. - param + param org.apache.taglibs.standard.tag.rt.core.ParamTag - JSP + JSP Name of the query string parameter. - name + name true true @@ -402,7 +492,7 @@ Name of the query string parameter. Value of the parameter. - value + value false true @@ -419,7 +509,7 @@ Value of the parameter. The URL of the resource to redirect to. - url + url false true @@ -428,7 +518,7 @@ The URL of the resource to redirect to. Name of the context when redirecting to a relative URL resource that belongs to a foreign context. - context + context false true @@ -440,21 +530,21 @@ resource that belongs to a foreign context. remove org.apache.taglibs.standard.tag.common.core.RemoveTag - empty - + empty + Name of the scoped variable to be removed. - var - true - false + var + true + false Scope for var. - scope - false + scope + false false @@ -480,9 +570,9 @@ whatever type the value expression evaluates to. Expression to be evaluated. - value + value false - true + true @@ -490,7 +580,7 @@ Target object whose property will be set. Must evaluate to a JavaBeans object with setter property property, or to a java.util.Map object. - target + target false true @@ -498,7 +588,7 @@ java.util.Map object. Name of the property to be set in the target object. - property + property false true @@ -506,7 +596,7 @@ Name of the property to be set in the target object. Scope for var. - scope + scope false false @@ -525,7 +615,7 @@ Name of the exported scoped variable for the processed url. The type of the scoped variable is String. - var + var false false @@ -533,7 +623,7 @@ String. Scope for var. - scope + scope false false @@ -541,7 +631,7 @@ Scope for var. URL to be processed. - value + value false true @@ -550,7 +640,7 @@ URL to be processed. Name of the context when specifying a relative URL resource that belongs to a foreign context. - context + context false true diff --git a/wechat-master/web/WEB-INF/fmt-1_0-rt.tld b/wechat-master/web/WEB-INF/fmt-1_0-rt.tld index 5a31c30..0141a3e 100644 --- a/wechat-master/web/WEB-INF/fmt-1_0-rt.tld +++ b/wechat-master/web/WEB-INF/fmt-1_0-rt.tld @@ -1,3 +1,4 @@ + + 1.2 + fmt + http://java.sun.com/jstl/fmt + JSTL fmt + JSTL 1.0 i18n-capable formatting library + org.apache.taglibs.standard.tlv.JstlFmtTLV diff --git a/wechat-master/web/WEB-INF/fmt.tld b/wechat-master/web/WEB-INF/fmt.tld index fdd4df9..3b17c44 100644 --- a/wechat-master/web/WEB-INF/fmt.tld +++ b/wechat-master/web/WEB-INF/fmt.tld @@ -20,149 +20,157 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd" version="2.0"> - - JSTL 1.1 i18n-capable formatting library - JSTL fmt - 1.1 - fmt - http://java.sun.com/jsp/jstl/fmt - - - - Provides core validation features for JSTL tags. - - - org.apache.taglibs.standard.tlv.JstlFmtTLV - - - - - Sets the request character encoding - - requestEncoding - org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag - empty - - -Name of character encoding to be applied when -decoding request parameters. - - value - false - true - - + JSTL 1.1 i18n-capable formatting library + JSTL fmt + 1.1 + fmt + http://java.sun.com/jsp/jstl/fmt - - - Stores the given locale in the locale configuration variable - - setLocale - org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag - empty - - -A String value is interpreted as the -printable representation of a locale, which -must contain a two-letter (lower-case) -language code (as defined by ISO-639), -and may contain a two-letter (upper-case) -country code (as defined by ISO-3166). -Language and country codes must be -separated by hyphen (-) or underscore -(_). - - value - true - true - - - -Vendor- or browser-specific variant. -See the java.util.Locale javadocs for -more information on variants. - - variant - false - true - - - -Scope of the locale configuration variable. - - scope - false - false - - - - - Specifies the time zone for any time formatting or parsing actions - nested in its body - - timeZone - org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag - JSP - - -The time zone. A String value is interpreted as -a time zone ID. This may be one of the time zone -IDs supported by the Java platform (such as -"America/Los_Angeles") or a custom time zone -ID (such as "GMT-8"). See -java.util.TimeZone for more information on -supported time zone formats. - - value - true - true - - - - - Stores the given time zone in the time zone configuration variable - - setTimeZone - org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag - empty - - -The time zone. A String value is interpreted as -a time zone ID. This may be one of the time zone -IDs supported by the Java platform (such as -"America/Los_Angeles") or a custom time zone -ID (such as "GMT-8"). See java.util.TimeZone for -more information on supported time zone -formats. - - value - true - true - - - -Name of the exported scoped variable which -stores the time zone of type -java.util.TimeZone. - - var - false - false - - + + + + -Scope of var or the time zone configuration -variable. + Provides core validation features for JSTL tags. - scope - false - false - + + org.apache.taglibs.standard.tlv.JstlFmtTLV + + + + + + + + + + + Sets the request character encoding + + requestEncoding + org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag + empty + + + Name of character encoding to be applied when decoding request parameters. + + value + false + true + + + + + + + + + + + Stores the given locale in the locale configuration variable + + setLocale + org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag + empty + + + A String value is interpreted as the printable representation of a locale, which must contain a two-letter (lower-case) language code (as defined by ISO-639), and may contain a two-letter (upper-case) country code (as defined by ISO-3166). Language and country codes must be separated by hyphen (-) or underscore (_). + + value + true + true + + + + + + + + + Vendor- or browser-specific variant. See the java.util.Locale javadocs for more information on variants. + + variant + false + true + + + + Scope of the locale configuration variable. + + scope + false + false + + + + + + Specifies the time zone for any time formatting or parsing actions nested in its body + + timeZone + org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag + JSP + + + The time zone. A String value is interpreted as a time zone ID. This may be one of the time zone IDs supported by the Java platform (such as "America/Los_Angeles") or a custom time zone ID (such as "GMT-8"). See java.util.TimeZone for more information on supported time zone formats. + + value + true + true + + + + + + + + + + + Stores the given time zone in the time zone configuration variable + + setTimeZone + org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag + empty + + + The time zone. A String value is interpreted as a time zone ID. This may be one of the time zone IDs supported by the Java platform (such as "America/Los_Angeles") or a custom time zone ID (such as "GMT-8"). See java.util.TimeZone for more information on supported time zone formats. + + value + true + true + + + + + + + + + Name of the exported scoped variable which stores the time zone of type java.util.TimeZone. + + var + false + false + + + + Scope of var or the time zone configuration variable. + + scope + false + false + + + + + + Loads a resource bundle to be used by its tag body @@ -179,9 +187,9 @@ form as a fully-qualified class name, that is, it uses have any file type (such as ".class" or ".properties") suffix. - basename - true - true + basename + true + true @@ -194,6 +202,11 @@ key of any nested <fmt:message> action. + + + + + Loads a resource bundle and stores it in the named scoped variable or @@ -211,9 +224,9 @@ form as a fully-qualified class name, that is, it uses have any file type (such as ".class" or ".properties") suffix. - basename - true - true + basename + true + true @@ -222,114 +235,129 @@ the i18n localization context of type javax.servlet.jsp.jstl.fmt.LocalizationC ontext. - var - false - false - + var + false + false + + + + + + Scope of var or the localization context -configuration variable. +configuration variable. - scope - false - false + scope + false + false - Maps key to localized message and performs parametric replacement + Maps key to localized message and performs parametric replacement - message - org.apache.taglibs.standard.tag.rt.fmt.MessageTag - JSP - + message + org.apache.taglibs.standard.tag.rt.fmt.MessageTag + JSP + -Message key to be looked up. +Message key to be looked up. - key - false - true - + key + false + true + Localization context in whose resource -bundle the message key is looked up. +bundle the message key is looked up. - bundle - false - true + bundle + false + true - + + + + + + Name of the exported scoped variable -which stores the localized message. +which stores the localized message. - var - false - false + var + false + false -Scope of var. +Scope of var. - scope - false - false + scope + false + false Supplies an argument for parametric replacement to a containing - <message> tag + <message> tag - param - org.apache.taglibs.standard.tag.rt.fmt.ParamTag - JSP - + param + org.apache.taglibs.standard.tag.rt.fmt.ParamTag + JSP + -Argument used for parametric replacement. +Argument used for parametric replacement. - value - false - true - + value + false + true + + + + + + - Formats a numeric value as a number, currency, or percentage + Formats a numeric value as a number, currency, or percentage - formatNumber - org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag - JSP - + formatNumber + org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag + JSP + -Numeric value to be formatted. +Numeric value to be formatted. - value - false - true - + value + false + true + Specifies whether the value is to be formatted as number, currency, or -percentage. +percentage. - type - false - true + type + false + true -Custom formatting pattern. +Custom formatting pattern. - pattern - false - true + pattern + false + true @@ -337,9 +365,9 @@ ISO 4217 currency code. Applied only when formatting currencies (i.e. if type is equal to "currency"); ignored otherwise. - currencyCode - false - true + currencyCode + false + true @@ -347,25 +375,30 @@ Currency symbol. Applied only when formatting currencies (i.e. if type is equal to "currency"); ignored otherwise. - currencySymbol - false - true + currencySymbol + false + true - + + + + + + Specifies whether the formatted output will contain any grouping separators. - groupingUsed - false - true + groupingUsed + false + true Maximum number of digits in the integer -portion of the formatted output. +portion of the formatted output. - maxIntegerDigits + maxIntegerDigits false true @@ -373,7 +406,7 @@ portion of the formatted output. Minimum number of digits in the integer portion of the formatted output. - + minIntegerDigits false true @@ -381,11 +414,16 @@ portion of the formatted output. Maximum number of digits in the -fractional portion of the formatted output. +fractional portion of the formatted output. maxFractionDigits false - true + + + + + + true @@ -402,17 +440,22 @@ Name of the exported scoped variable which stores the formatted result as a String. - var - false - false + var + false + + + + + + false Scope of var. - scope - false - false + scope + false + false @@ -428,27 +471,37 @@ Scope of var. String to be parsed. value - false + + + + + + false true -Specifies whether the string in the value +Specifies whether the string in the value attribute should be parsed as a number, currency, or percentage. type - false + false true -Custom formatting pattern that determines + + pattern - false + + + + + + false true @@ -460,24 +513,29 @@ operation, or to which the pattern specified via the pattern attribute (if present) is applied. - parseLocale - false - true + parseLocale + false + true -Specifies whether just the integer portion of -the given value should be parsed. + integerOnly - false + + + + + + false true -Name of the exported scoped variable which + var false @@ -487,7 +545,7 @@ java.lang.Number). Scope of var. - scope + scope false false @@ -495,7 +553,7 @@ Scope of var. - Formats a date and/or time using the supplied styles and pattern + formatDate org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag @@ -505,9 +563,14 @@ Scope of var. Date and/or time to be formatted. value - true + true true - + + + + + + Specifies whether the time, the date, or both @@ -515,7 +578,7 @@ the time and date components of the given date are to be formatted. type - false + false true @@ -528,7 +591,12 @@ time (i.e. if type is missing or is equal to "date" or "both"); ignored otherwise. dateStyle - false + + + + + + false true @@ -548,64 +616,69 @@ ignored otherwise. Custom formatting style for dates and times. - pattern + pattern false true - - + + Time zone in which to represent the formatted time. timeZone false - true - + true + -Name of the exported scoped variable which -stores the formatted result as a String. +Name of the exported scoped variable which + stores the formatted result as a String. - var + var false false Scope of var. - - scope - false - false + + scope + + + + + + false + false - + Parses the string representation of a date and/or time - parseDate + parseDate org.apache.taglibs.standard.tag.rt.fmt.ParseDateTag JSP Date string to be parsed. - value + value false - true + true Specifies whether the date string in the value attribute is supposed to contain a time, a date, or both. - - type + + type false - true + true - + Predefined formatting style for days which determines how the date @@ -615,10 +688,10 @@ date or both a date and time (i.e. if type is missing or is equal to "date" or "both"); ignored otherwise. - dateStyle + dateStyle false - true - + true + Predefined formatting styles for times @@ -628,28 +701,33 @@ parsed. Applied only when formatting a time or both a date and time (i.e. if type is equal to "time" or "both"); ignored otherwise. - - timeStyle - false - true + + timeStyle + false + true - + Custom formatting pattern which determines how the date string is to be parsed. - pattern + pattern false true - + Time zone in which to interpret any time -information in the date string. +information in the date string. - timeZone - false + timeZone + + + + + + false true @@ -660,28 +738,33 @@ the parse operation, or to which the pattern specified via the pattern attribute (if present) is applied. - parseLocale + parseLocale false - true + true - -Name of the exported scoped variable in + + Name of the exported scoped variable in which the parsing result (of type java.util.Date) is stored. - var + var false - false + false - -Scope of var. - - scope + + Scope of var. + + + + + + + scope false - false - + false + diff --git a/wechat-master/web/WEB-INF/fn.tld b/wechat-master/web/WEB-INF/fn.tld index 38cb106..76fb0e8 100644 --- a/wechat-master/web/WEB-INF/fn.tld +++ b/wechat-master/web/WEB-INF/fn.tld @@ -1,5 +1,9 @@ + + + + + + + + + + JSTL 1.1 functions library + + JSTL functions + + 1.1 + + fn + + http://java.sun.com/jsp/jstl/functions + + + + Tests if an input string contains the specified substring. + + contains + + org.apache.taglibs.standard.functions.Functions + + boolean contains(java.lang.String, java.lang.String) + + <c:if test="${fn:contains(name, searchString)}"> + + + + Tests if an input string contains the specified substring in a case insensitive way. + + containsIgnoreCase + + org.apache.taglibs.standard.functions.Functions + + boolean containsIgnoreCase(java.lang.String, java.lang.String) + + <c:if test="${fn:containsIgnoreCase(name, searchString)}"> + + Tests if an input string ends with the specified suffix. @@ -63,6 +107,8 @@ + + Escapes characters that could be interpreted as XML markup. @@ -75,6 +121,8 @@ + + Returns the index withing a string of the first occurrence of a specified substring. @@ -87,6 +135,10 @@ + + + + Joins all elements of an array into a string. @@ -99,6 +151,8 @@ + + Returns the number of items in a collection, or the number of characters in a string. @@ -111,6 +165,8 @@ + + Returns a string resulting from replacing in an input string all occurrences @@ -124,6 +180,10 @@ + + + + Splits a string into an array of substrings. @@ -136,6 +196,8 @@ + + Tests if an input string starts with the specified prefix. @@ -148,6 +210,8 @@ + + Returns a subset of a string. @@ -160,6 +224,8 @@ + + Returns a subset of a string following a specific substring. @@ -172,6 +238,8 @@ + + Returns a subset of a string before a specific substring. @@ -184,6 +252,8 @@ + + Converts all of the characters of a string to lower case. @@ -196,6 +266,8 @@ + + Converts all of the characters of a string to upper case. @@ -208,6 +280,8 @@ + + Removes white spaces from both ends of a string. @@ -221,3 +295,301 @@ + + + + + + + + + + + + + + + + +JSTL 1.1 functions library + + +JSTL functions + + +1.1 + + +fn + + +http://java.sun.com/jsp/jstl/functions + + + + + + + + Tests if an input string contains the specified substring. + + + + contains + + + org.apache.taglibs.standard.functions.Functions + + + boolean contains(java.lang.String, java.lang.String) + + + + <c:if test="${fn:contains(name, searchString)}"> + + + + + + + + + + Tests if an input string contains the specified substring in a case insensitive way. + + + + containsIgnoreCase + + + org.apache.taglibs.standard.functions.Functions + + + boolean containsIgnoreCase(java.lang.String, java.lang.String) + + + + <c:if test="${fn:containsIgnoreCase(name, searchString)}"> + + + + + + + + Tests if an input string ends with the specified suffix. + + endsWith + org.apache.taglibs.standard.functions.Functions + boolean endsWith(java.lang.String, java.lang.String) + + <c:if test="${fn:endsWith(filename, ".txt")}"> + + + + + + + + Escapes characters that could be interpreted as XML markup. + + escapeXml + org.apache.taglibs.standard.functions.Functions + java.lang.String escapeXml(java.lang.String) + + ${fn:escapeXml(param:info)} + + + + + + + + Returns the index withing a string of the first occurrence of a specified substring. + + indexOf + org.apache.taglibs.standard.functions.Functions + int indexOf(java.lang.String, java.lang.String) + + ${fn:indexOf(name, "-")} + + + + + + + + + + Joins all elements of an array into a string. + + join + org.apache.taglibs.standard.functions.Functions + java.lang.String join(java.lang.String[], java.lang.String) + + ${fn:join(array, ";")} + + + + + + + + Returns the number of items in a collection, or the number of characters in a string. + + length + org.apache.taglibs.standard.functions.Functions + int length(java.lang.Object) + + You have ${fn:length(shoppingCart.products)} in your shopping cart. + + + + + + + + Returns a string resulting from replacing in an input string all occurrences + of a "before" string into an "after" substring. + + replace + org.apache.taglibs.standard.functions.Functions + java.lang.String replace(java.lang.String, java.lang.String, java.lang.String) + + ${fn:replace(text, "-", "•")} + + + + + + + + + + Splits a string into an array of substrings. + + split + org.apache.taglibs.standard.functions.Functions + java.lang.String[] split(java.lang.String, java.lang.String) + + ${fn:split(customerNames, ";")} + + + + + + + + Tests if an input string starts with the specified prefix. + + startsWith + org.apache.taglibs.standard.functions.Functions + boolean startsWith(java.lang.String, java.lang.String) + + <c:if test="${fn:startsWith(product.id, "100-")}"> + + + + + + + + Returns a subset of a string. + + substring + org.apache.taglibs.standard.functions.Functions + java.lang.String substring(java.lang.String, int, int) + + P.O. Box: ${fn:substring(zip, 6, -1)} + + + + + + + + Returns a subset of a string following a specific substring. + + substringAfter + org.apache.taglibs.standard.functions.Functions + java.lang.String substringAfter(java.lang.String, java.lang.String) + + P.O. Box: ${fn:substringAfter(zip, "-")} + + + + + + + + Returns a subset of a string before a specific substring. + + substringBefore + org.apache.taglibs.standard.functions.Functions + java.lang.String substringBefore(java.lang.String, java.lang.String) + + Zip (without P.O. Box): ${fn:substringBefore(zip, "-")} + + + + + + + + Converts all of the characters of a string to lower case. + + toLowerCase + org.apache.taglibs.standard.functions.Functions + java.lang.String toLowerCase(java.lang.String) + + Product name: ${fn.toLowerCase(product.name)} + + + + + + + + Converts all of the characters of a string to upper case. + + toUpperCase + org.apache.taglibs.standard.functions.Functions + java.lang.String toUpperCase(java.lang.String) + + Product name: ${fn.UpperCase(product.name)} + + + + + + + + Removes white spaces from both ends of a string. + + trim + org.apache.taglibs.standard.functions.Functions + java.lang.String trim(java.lang.String) + + Name: ${fn.trim(name)} + + + + + diff --git a/wechat-master/web/WEB-INF/permittedTaglibs.tld b/wechat-master/web/WEB-INF/permittedTaglibs.tld index 6ec0f40..0d9aa73 100644 --- a/wechat-master/web/WEB-INF/permittedTaglibs.tld +++ b/wechat-master/web/WEB-INF/permittedTaglibs.tld @@ -1,5 +1,8 @@ + + + + + + + + + + Restricts JSP pages to the JSTL tag libraries - + + + + permittedTaglibs + + 1.1 + + permittedTaglibs + + http://jakarta.apache.org/taglibs/standard/permittedTaglibs + + + + + javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV + + + + Whitespace-separated list of taglib URIs to permit. This example TLD for the Standard Taglib allows only JSTL 'el' taglibs to be imported. + + permittedTaglibs + + http://java.sun.com/jsp/jstl/core http://java.sun.com/jsp/jstl/fmt diff --git a/wechat-master/web/WEB-INF/scriptfree.tld b/wechat-master/web/WEB-INF/scriptfree.tld index e2b8212..60a773e 100644 --- a/wechat-master/web/WEB-INF/scriptfree.tld +++ b/wechat-master/web/WEB-INF/scriptfree.tld @@ -24,7 +24,12 @@ Validates JSP pages to prohibit use of scripting elements. 1.1 + scriptfree + + + + http://jakarta.apache.org/taglibs/standard/scriptfree @@ -40,6 +45,11 @@ allowDeclarations false + + + + + @@ -52,10 +62,19 @@ Controls whether or not top-level expressions are considered valid. - allowExpressions + allowExpressions + + + + false - + + + + + + Controls whether or not expressions used to supply request-time attribute values are considered valid. diff --git a/wechat-master/web/WEB-INF/x.tld b/wechat-master/web/WEB-INF/x.tld index ee99279..7a4c4ed 100644 --- a/wechat-master/web/WEB-INF/x.tld +++ b/wechat-master/web/WEB-INF/x.tld @@ -16,17 +16,31 @@ ~ limitations under the License. --> + + + + JSTL 1.1 XML library + + JSTL XML + + 1.1 + + x + + http://java.sun.com/jsp/jstl/xml + + Provides validation features for JSTL XML tags. @@ -36,45 +50,87 @@ + + + + Simple conditional tag that establishes a context for mutually exclusive conditional operations, marked by <when> and <otherwise> + + choose + + org.apache.taglibs.standard.tag.common.core.ChooseTag + + JSP + + + + Like <%= ... >, but for XPath expressions. + + out + + org.apache.taglibs.standard.tag.rt.xml.ExprTag + + empty + + + + XPath expression to be evaluated. + + select + + true + + false + + + + Determines whether characters <,>,&,'," in the resulting string should be converted to their corresponding character entity codes. Default value is true. + + escapeXml + + false + + true + + XML conditional tag, which evalutes its body if the @@ -98,27 +154,51 @@ Name of the exported scoped variable for the resulting value of the test condition. The type of the scoped variable is Boolean. + + var + + false + + false Scope for var. + + scope + + false + + false + + + + XML iteration tag. + + forEach + + org.apache.taglibs.standard.tag.common.xml.ForEachTag + + JSP + + Name of the exported scoped variable for the @@ -127,47 +207,89 @@ has nested visibility. Its type depends on the result of the XPath expression in the select attribute. + + var + + false + + false + + XPath expression to be evaluated. + + select + + true + + false + + Iteration begins at the item located at the specified index. First item of the collection has index 0. + + begin + + false + + true + + int + + Iteration ends at the item located at the specified index (inclusive). + + end + + false + + true + + int + + Iteration will only process every step items of the collection, starting with the first one. step + + false + + true + + int @@ -176,8 +298,14 @@ Name of the exported scoped variable for the status of the iteration. Object exported is of type javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested visibility. + + varStatus + + false + + false @@ -194,26 +322,48 @@ javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested visib + + Adds a parameter to a containing 'transform' tag's Transformer + + param + + org.apache.taglibs.standard.tag.rt.xml.ParamTag + + JSP + + Name of the transformation parameter. + + name + + true + + true Value of the parameter. + + value + + false + + true @@ -222,12 +372,24 @@ Value of the parameter. Parses XML content from 'source' attribute or 'body' + + parse + + org.apache.taglibs.standard.tag.rt.xml.ParseTag + + org.apache.taglibs.standard.tei.XmlParseTEI + + JSP + + + + Name of the exported scoped variable for the parsed XML document. The type of the scoped variable is implementation @@ -244,8 +406,14 @@ the parsed XML document. The type of the scoped variable is org.w3c.dom.Document. + + varDom + + false + + false @@ -253,49 +421,91 @@ org.w3c.dom.Document. Scope for var. scope + + false + + false Scope for varDom. + + scopeDom + + false + + false + + Deprecated. Use attribute 'doc' instead. + + xml + + false + + true + + Source XML document to be parsed. + + doc + + false + + true + + The system identifier (URI) for parsing the XML document. + + systemId + + false + + true + + Filter to be applied to the source document. + + filter + + false + + true @@ -304,9 +514,17 @@ document. Saves the result of an XPath expression evaluation in a 'scope' + + set + + org.apache.taglibs.standard.tag.common.xml.SetTag + + empty + + Name of the exported scoped variable to hold @@ -314,24 +532,46 @@ the value specified in the action. The type of the scoped variable is whatever type the select expression evaluates to. + + var + + true + + false + + XPath expression to be evaluated. + + select + + false + + false + + Scope for var. + + scope + + false + + false @@ -341,9 +581,17 @@ Scope for var. Conducts a transformation given a source XML document and an XSLT stylesheet + + transform + + org.apache.taglibs.standard.tag.rt.xml.TransformTag + + org.apache.taglibs.standard.tei.XmlTransformTEI + + JSP @@ -354,16 +602,28 @@ document. The type of the scoped variable is org.w3c.dom.Document. + + var + + false + + false Scope for var. + + scope + + false + + false @@ -373,8 +633,14 @@ Object that captures or processes the transformation result. + + result + + false + + true @@ -382,8 +648,14 @@ result. Deprecated. Use attribute 'doc' instead. + + xml + + false + + true @@ -395,8 +667,14 @@ to a well-formed XML document, not a partial document.) + + doc + + false + + true @@ -404,8 +682,14 @@ document.) Deprecated. Use attribute 'docSystemId' instead. + + xmlSystemId + + false + + true @@ -414,8 +698,14 @@ The system identifier (URI) for parsing the XML document. + + docSystemId + + false + + true @@ -426,7 +716,11 @@ a String, Reader, or Source object. xslt + + false + + true @@ -446,19 +740,810 @@ stylesheet. Subtag of <choose> that includes its body if its expression evalutes to 'true' + + when + + org.apache.taglibs.standard.tag.common.xml.WhenTag + + JSP + + + + The test condition that tells whether or not the body content should be processed + + select + + true + + false + + + + + + + + + + +JSTL 1.1 XML library + + +JSTL XML + + +1.1 + + +x + + +http://java.sun.com/jsp/jstl/xml + + + + + + Provides validation features for JSTL XML tags. + + + org.apache.taglibs.standard.tlv.JstlXmlTLV + + + + + + + + + + Simple conditional tag that establishes a context for + mutually exclusive conditional operations, marked by + <when> and <otherwise> + + + + choose + + + org.apache.taglibs.standard.tag.common.core.ChooseTag + + + JSP + + + + + + + + + Like <%= ... >, but for XPath expressions. + + + + out + + + org.apache.taglibs.standard.tag.rt.xml.ExprTag + + + empty + + + + + + + XPath expression to be evaluated. + + + + select + + + true + + + false + + + + + + + + Determines whether characters <,>,&,'," in the + resulting string should be converted to their + corresponding character entity codes. Default + value is true. + + + + escapeXml + + + false + + + true + + + + + + + + XML conditional tag, which evalutes its body if the + supplied XPath expression evalutes to 'true' as a boolean + + if + org.apache.taglibs.standard.tag.common.xml.IfTag + JSP + + + The test condition that tells whether or not the + body content should be processed. + + select + true + false + + + + Name of the exported scoped variable for the + resulting value of the test condition. The type + of the scoped variable is Boolean. + + + + var + + + false + + + false + + + + Scope for var. + + + + scope + + + false + + + false + + + + + + + + + + XML iteration tag. + + + + forEach + + + org.apache.taglibs.standard.tag.common.xml.ForEachTag + + + JSP + + + + + Name of the exported scoped variable for the + current item of the iteration. This scoped variable + has nested visibility. Its type depends on the + result of the XPath expression in the select + attribute. + + + + var + + + false + + + false + + + + + + XPath expression to be evaluated. + + + + select + + + true + + + false + + + + + + Iteration begins at the item located at the + specified index. First item of the collection has + index 0. + + + + begin + + + false + + + true + + + int + + + + + + Iteration ends at the item located at the specified + index (inclusive). + + + + end + + + false + + + true + + + int + + + + + + Iteration will only process every step items of + the collection, starting with the first one. + + step + + + false + + + true + + + int + + + + Name of the exported scoped variable for the + status of the iteration. Object exported is of type + javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested visibility. + + + + varStatus + + + false + + + false + + + + + + Subtag of <choose> that follows <when> tags + and runs only if all of the prior conditions evaluated to + 'false' + + otherwise + org.apache.taglibs.standard.tag.common.core.OtherwiseTag + JSP + + + + + + + Adds a parameter to a containing 'transform' tag's Transformer + + + + param + + + org.apache.taglibs.standard.tag.rt.xml.ParamTag + + + JSP + + + + + Name of the transformation parameter. + + + + name + + + true + + + true + + + + Value of the parameter. + + + + value + + + false + + + true + + + + + + Parses XML content from 'source' attribute or 'body' + + + + parse + + + org.apache.taglibs.standard.tag.rt.xml.ParseTag + + + org.apache.taglibs.standard.tei.XmlParseTEI + + + JSP + + + + + + + Name of the exported scoped variable for + the parsed XML document. The type of the + scoped variable is implementation + dependent. + + var + false + false + + + + Name of the exported scoped variable for + the parsed XML document. The type of the + scoped variable is + org.w3c.dom.Document. + + + + varDom + + + false + + + false + + + + Scope for var. + + scope + + + false + + + false + + + + Scope for varDom. + + + + scopeDom + + + false + + + false + + + + + + Deprecated. Use attribute 'doc' instead. + + + + xml + + + false + + + true + + + + + + Source XML document to be parsed. + + + + doc + + + false + + + true + + + + + + The system identifier (URI) for parsing the + XML document. + + + + systemId + + + false + + + true + + + + + + Filter to be applied to the source + document. + + + + filter + + + false + + + true + + + + + + Saves the result of an XPath expression evaluation in a 'scope' + + + + set + + + org.apache.taglibs.standard.tag.common.xml.SetTag + + + empty + + + + + Name of the exported scoped variable to hold + the value specified in the action. The type of the + scoped variable is whatever type the select + expression evaluates to. + + + + var + + + true + + + false + + + + + + XPath expression to be evaluated. + + + + select + + + false + + + false + + + + + + Scope for var. + + + + scope + + + false + + + false + + + + + + Conducts a transformation given a source XML document + and an XSLT stylesheet + + + + transform + + + org.apache.taglibs.standard.tag.rt.xml.TransformTag + + + org.apache.taglibs.standard.tei.XmlTransformTEI + + + JSP + + + Name of the exported + scoped variable for the + transformed XML + document. The type of the + scoped variable is + org.w3c.dom.Document. + + + + var + + + false + + + false + + + + Scope for var. + + + + scope + + + false + + + false + + + + Result + Object that captures or + processes the transformation + result. + + + + result + + + false + + + true + + + + Deprecated. Use attribute + 'doc' instead. + + + + xml + + + false + + + true + + + + Source XML document to be + transformed. (If exported by + <x:set>, it must correspond + to a well-formed XML + document, not a partial + document.) + + + + doc + + + false + + + true + + + + Deprecated. Use attribute + 'docSystemId' instead. + + + + xmlSystemId + + + false + + + true + + + + The system identifier (URI) + for parsing the XML + document. + + + + docSystemId + + + false + + + true + + + + javax.xml.transform.Source + Transformation stylesheet as + a String, Reader, or + Source object. + + xslt + + + false + + + true + + + + The system identifier (URI) + for parsing the XSLT + stylesheet. + + xsltSystemId + false + true + + + + + + Subtag of <choose> that includes its body if its + expression evalutes to 'true' + + + + when + + + org.apache.taglibs.standard.tag.common.xml.WhenTag + + + JSP + + + + + + + The test condition that tells whether or + not the body content should be + processed + + + + select + + + true + + + false + + + + + diff --git a/wechat-master/web/error.jsp b/wechat-master/web/error.jsp index 21d87e8..dd363f6 100644 --- a/wechat-master/web/error.jsp +++ b/wechat-master/web/error.jsp @@ -34,7 +34,7 @@

${message}


- +