阅读背景:

从包含jsp中的对象的arrayList获取对象的int值

来源:互联网 

I was having a problem with obtaining an id value from an object in a list. I am first storing user login details in a session and using these to set the criteria for a query that i use to populate the list. The list will only hold one object of type user. The list is being populated with the correct details as I checked through debugging, however when I try to iterate the list to obtain the id value of the object stored in the list my code does not even enter the for loop. The id value is the id of the user that the query is obtaining. The following is my code snippet:I was having a problem with obtaining an id val




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: