code:     protected Object findValue(String expr, Class toType) {
          if (altSyntax() && toType == String.class) {
          	return TextParseUtil.translateVariables('%', expr, stack);
          } else {
              expr = stripExpressionIfAltSyntax(expr);
  
              return getStack().findValue(expr, toType, throwExceptionOnELFailure);
          }
      }
  
      /**
       * Renders an action URL by consulting the {@link org.apache.struts2.dispatcher.mapper.ActionMapper}.
       * @param action      the action
       * @param namespace   the namespace
       * @param method      the method
       * @param req         HTTP request
       * @param res         HTTP response
       * @param parameters  parameters
       * @param scheme      http or https
       * @param includeContext  should the context path be included or not
       * @param encodeResult    should the url be encoded
       * @param forceAddSchemeHostAndPort    should the scheme host and port be forced
       * @param escapeAmp    should ampersand (&amp;) be escaped to &amp;amp;
       * @return the action url.
       */
  