• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

help required

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
my problem is how do i bring it in jtree type view in jsp
 
And when my army is complete, I will rule the world! But, for now, I'm going to be happy with this tiny ad:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic