Parametersinterceptor Error: Unexpected Exception Caught, Error Setting Expression February 03, 2024 Post a Comment I have a table inside a form that contains dropdowns and a hidden input. JSP: Solution 1: You don't need to submit all ids of the table. Because you don't want to convert profId to a list or array. Use a separate form for each record. <table> <thead class="center"> <tr> <!-- column names here --> </tr> </thead> <tbody> <c:forEach var="professor" items="${facultyList}"> <tr><td> <form action="modifyfaculty" method="post"> <table> <tr> <!-- more <td> --> <td align="center"> <c:choose> <c:when test="${professor.profEmplStatus.equals('FULL')}"> <select name="profEmplStatus" required> <option value="FULL" selected>FULL</option> <option value="PART">PART</option> <option value="RET">RET</option> <option value="TRMTD">TRMTD</option> </select> </c:when> <!-- more <c:when> blocks --> </c:choose> </td> <td align="center"> <c:choose> <c:when test="${professor.profDept.equals('BSCS-SE')}"> <select name="profDept" required> <option value="BA-MMA">BA-MMA</option> <option value="BFDT">BFDT</option> <option value="BS-AN">BS-AN</option> <option value="BS-GPD">BS-GPD</option> <option value="BSBA-FM">BSBA-FM</option> <option value="BSBA-MKT">BSBA-MKT</option> <option value="BSCS-SE" selected>BSCS-SE</option> <option value="BSIT-WD">BSIT-WD</option> <option value="GENED">GENED</option> </select> </c:when> <!-- more <c:when> blocks --> </c:choose> </td> <td class="center"> <input type="hidden" name="profId" value="${professor.profId}" /> <input type="submit" value="Save" /> </td> </tr> </table> </form> </td></tr> </c:forEach> </tbody> </table> Copy Share You may like these postsPrevent Downloading Videos In Temp Folder While Watching Videos In Web BrowserHow To Unescape Html In Struts2Accessing Selected Dropdown Items Using JavaIs It Possible To Use Url Parameters With Mysql/jsp? Post a Comment for "Parametersinterceptor Error: Unexpected Exception Caught, Error Setting Expression"