Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有这个代码:
<% String param = "This my value"; %> <s:hidden name="hdd" value='<%=param%>' />
我想调用参数变量,但它不起作用。
参数是否在 JSP 页面上定义?如果是,请尝试使用 html 标签 " />,但不要尝试 struts2 标签。 struts2 标签将根据其名称从 OGNL 堆栈中获取其值。