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.
我正在为我的应用程序使用 Struts 1.2。我已经使用 Struts taglib 声明了一个变量,如下所示:
<bean:define id="stringVar" type="java.lang.String" value="someValue" />
现在我想根据某些条件为这个变量“stringVar”分配一些其他值。我不确定如何为这个变量赋值。
请问有什么帮助吗?
问候,