2 Replies - 494 Views - Last Post: 04 October 2012 - 01:51 PM Rate Topic: -----

#1 Alexey_Shevelyov-  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 21-April 12

Display the value of an array object

Posted 04 October 2012 - 01:50 PM

http://farm9.staticf...bc34cb7f3_m.jpg

Hi Guys

My as you can see on the picture - There is an array of student called sList.
There are 3 objects in there ([0],[1],[2]).
Each of these objects has values in it.



The goal is:
------------
I have to display this stuff on JSP page using JSP tags.
I have no problems with the Tags - I don't know how to tell sList to give me an sid string to display for instance.
sList.get(0) will give me the object. I could go with toString method to display it but this is not what I need.
I am making an HTML table end whenever needed I have to plug in values such as sid, q1(quiz 1), midterm.

Other words I need to be able to get the value of an object within another object.
Just one good idea to display one of the values could help me build it all.

My professor seems not to be responding on time for some reason and all my project is frozen because I can't display it.

Appreciate you help guys - thanks for any effort!

Is This A Good Question/Topic? 0
  • +

Replies To: Display the value of an array object

#2 Alexey_Shevelyov-  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 21-April 12

Re: Display the value of an array object

Posted 04 October 2012 - 01:50 PM

http://www.flickr.co.../in/photostream

Hi Guys

My as you can see on the picture - There is an array of student called sList.
There are 3 objects in there ([0],[1],[2]).
Each of these objects has values in it.



The goal is:
------------
I have to display this stuff on JSP page using JSP tags.
I have no problems with the Tags - I don't know how to tell sList to give me an sid string to display for instance.
sList.get(0) will give me the object. I could go with toString method to display it but this is not what I need.
I am making an HTML table end whenever needed I have to plug in values such as sid, q1(quiz 1), midterm.

Other words I need to be able to get the value of an object within another object.
Just one good idea to display one of the values could help me build it all.

My professor seems not to be responding on time for some reason and all my project is frozen because I can't display it.

Appreciate you help guys - thanks for any effort!
Was This Post Helpful? 0
  • +
  • -

#3 Alexey_Shevelyov-  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 21-April 12

Re: Display the value of an array object

Posted 04 October 2012 - 01:51 PM

http://www.flickr.co.../in/photostream

Hi Guys

As you can see on the picture - There is an array of student called sList.
There are 3 objects in there ([0],[1],[2]).
Each of these objects has values in it.



The goal is:
------------
I have to display this stuff on JSP page using JSP tags.
I have no problems with the Tags - I don't know how to tell sList to give me an sid string to display for instance.
sList.get(0) will give me the object. I could go with toString method to display it but this is not what I need.
I am making an HTML table end whenever needed I have to plug in values such as sid, q1(quiz 1), midterm.

Other words I need to be able to get the value of an object within another object.
Just one good idea to display one of the values could help me build it all.

My professor seems not to be responding on time for some reason and all my project is frozen because I can't display it.

Appreciate you help guys - thanks for any effort!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1