2017-05-08 119 views
0

我得到这个错误:来自哪里的方法?

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方法或什么的,我不明白为什么我得到这个错误...

+0

** JavaScript **代码与生成错误的** Java **代码无关。该错误调用它在'IfTag'中,所以...查找它所涉及的

+0

问题是没有任何' Phazoner

+0

我们需要比以上更多的上下文。我怀疑'

回答

0

一个方法的使用进入下一个如果条件是返回不期望的文本,使代码随机崩溃。