2017-05-08 117 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

一個方法的使用進入下一個如果條件是返回不期望的文本,使代碼隨機崩潰。