我收到这个错误:
Error in line: 87 in file jsp: /modules/login/pages/loginExtranet.jsp
The method setTest(boolean) in the type IfTag is not applicable for the arguments ()
84: <span>*</span>
.
.
.
周围的代码是这样的:
<div>
<label for="pass">
Pass
</label>
<input type="password" value="" id="pass" name="j_password"
onfocus="this.value=''; this.onfocus=null;" />
<span>*</span>
</div>
setTest 从哪里来?感觉是内部jsp方法什么的,我不明白为什么会报这个错...
最佳答案
在 next if 的条件中使用一种方法会返回不需要的文本,从而使代码随机崩溃。
关于java - 不知从何而来的方法?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43842232/