如何让<s:form>里的action属性接受EL表达式或者request.getParameter("")、 request.getAttribute("")。我按如下设置不能达到效果:
一、在page指令里,加入isELIgnored="true"属性,即
<%@ page language="java" contentType="text/html;charset=gbk"  isELIgnored="true" %>
二、把<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>变为:
<%@ taglib prefix="c" uri=http://java.sun.com/jstl/core_rt  %>
三、在Tomcat的Java Options中加入
-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false