我正在尝试使用 <html:link>
将多个参数传递给我的 Struts 操作类属性。
我有一个链接,它应该将两个参数从 JSP 页面传递到我的操作类。
如何实现这一目标?
最佳答案
在 Struts 1.3 中,参数可以设置为 action
属性,如本例所示
<html:link action="/path/to/action?param1=2¶m2=${param2Value}">Some text</html:link>
关于java - Struts1.x中如何使用html链接传递多个参数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16563068/