Javax. servlet. jsp. jspexception

Source: Internet
Author: User

 

The specific error message for this exception is as follows:

Javax. servlet. jsp. jspexception: exception accessing property uid for bean houseinfo: Java. Lang. nosuchmethodexception: Unknown property 'uid'

 

The problem has not been solved. I will analyze it first. It seems that there is no UID attribute in the pojo class. You don't need to check it. I still remember that there is no UID attribute. Before that, UID has changed the UID attribute of the tbluser pojo class to a tbluser pojo class object because of the one-to-many relationship between the tbluser table and the tblfwxx table,

 

After this is done, I changed the value of the form property attribute on the JSP page from the original UID to tbluser. UID, So OK. After all, in tblfwxx, The tbluser is an object and the attribute name must be written as tbluser. UID.

 

 

Well, remember!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.