1. 程式人生 > >jsp頁面的html代碼顯示不出來,提示Uncaught SyntaxError: Unexpected token <

jsp頁面的html代碼顯示不出來,提示Uncaught SyntaxError: Unexpected token <

color branch 代碼 hidden 顯示 hid nta pan user

jsp頁面的html代碼顯示不出來,提示Uncaught SyntaxError: Unexpected token <

<input type="hidden" name="flowBranchId" value="${flowBranch.flowUserId}"/>

上面的flowUserId,在傳過來的flowBranch中不存在。

改為正確的:

<input type="hidden" name="flowBranchId" value="${flowBranch.flowBranchId}"/>

就可以了。

jsp頁面的html代碼顯示不出來,提示Uncaught SyntaxError: Unexpected token <