There could be multiple reasons why you are not able to get the value. Here are a few possible reasons:

  1. Check if the parameter "aid" is being passed correctly in the request URL. Make sure the parameter name matches with the one used in the servlet.

  2. Ensure that the Loan_historyDao class is functioning correctly and returning the expected Loan_history object.

  3. Verify if the HttpSession object is being created and the Loan_history object is being set correctly as an attribute in the session.

  4. Check if the JSP file "Loan history.jsp" is in the correct location and can be accessed by the servlet.

  5. Make sure that the JSTL core library is properly configured in your project and imported in the JSP file.

By debugging and checking these points, you should be able to identify the issue and resolve it

package booksliaohoutaiServlet;import javaioIOException;import javaxservletServletException; import javaxservlethttpHttpServlet; import javaxservlethttpHttpServletRequest; import javaxservlethttpHttpS

原文地址: https://www.cveoy.top/t/topic/iiNA 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录