This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Just wondering if someone could help with my JSON issue.
I have a list of objects called Company that contain details such as ID, name, address etc.
I pass these back to a JSP, but I just get the following error.
Now if I replace the jsonData.put("companyList", this.companyList); with someting simple like
jsonData.put("companyList", "A pointless string");, the code works, which would suggest the List and/or Company object is
the problem, but I can't think why. PS, the Company object is Serializable.