jsp自定义标签的线程安全问题!
请问大家,有关jsp自定义标签中。在tld中设置的属性:
<attribute>
<name>type</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
在实现的类中,则以private int type;来getType();setType();
这样的类的实例变量话应该是线程不安全的吧~~
请问jsp自定义标签中的参数如何达到线程安全的呢???
谢谢大家参与讨论!