Retrieve data from database using Hibernate with Spring MVC. Error - “java.lang.NumberFormatException: For input string: ”

前端 未结 2 1324
逝去的感伤
逝去的感伤 2021-01-26 01:01

I\'m trying to create a simple webapp with a search Page. I have implemented CRUD part and it\'s working. I\'m new to coding. Having trouble with the search option. Error - \"ja

2条回答
  •  南笙
    南笙 (楼主)
    2021-01-26 01:44

    It was simple syntax issue at the end. @saifulislamplabon Answer fixed my Hibernate part and Error -" java.lang.NumberFormatException For input string: "ISBN" was causing because my JSP page had an error with tag. It was caused by the white space between <% @page. I corrected it to <%@page contentType="text/html" pageEncoding="UTF-8"%> and everything works fine now. Thanks for the support.

提交回复
热议问题