Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help required

 
lee anthony
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In jsp page i need somthing like this, i am using collection
i donot understand how do i use logic iterate to get such a format in my jsp
suggestion please........
TopicSenderDate
Requirement analysis [Sender name]dd-mm-yyyy
RE: Requirement analysis [Sender name]dd-mm-yyyy
RE: Requirement analysis [Sender name]dd-mm-yyyy
RE: Requirement analysis [Sender name]dd-mm-yyyy
System Study[Sender name]dd-mm-yyyy
RE: System study[Sender name]dd-mm-yyyy
RE: System study[Sender name]dd-mm-yyyy
RE: System study[Sender name]dd-mm-yyyy
RE: System study [Sender name]dd-mm-yyyy
System study documents [Sender name]dd-mm-yyyy
RE: Documents [Sender name]dd-mm-yyyy
RE: Uploaded docs[Sender name]dd-mm-yyyy
Table i am using is
e_forum_threads
ThreadId (Auto generated and primary key)
ForumId
userid
intime [date and time]
msgtitle
msgtext
sortby [name of the thread attribute]
level [int]
parent [int] usually thread id.
locked [Boolean]
...........................
plaese tell me how do i proceed
ideas please
some code...if possible
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had a feeling it was for a forum...
By the way, you'll probably get quicker responses if you don't post a new thread to Javaranch each time you write - try the Post Reply option next time instead of Post New Topic (if it's the same issue).
It looks like you haven't organized your collection yet. Get that figured out and the logic iterate should be pretty straight-forward.
Logic iterate doesn't do anything magical; it's pretty much a simple while loop.
How far have you gotten in sorting the db table into an organized collection? Maybe we can go from there.
 
lee anthony
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my problem is how do i bring it in jtree type view in jsp
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic