permaculture playing cards*
The moose likes Struts and the fly likes help required Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "help required" Watch "help required" New topic
Author

help required

lee anthony
Ranch Hand

Joined: Jan 23, 2004
Posts: 35
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

Joined: Feb 05, 2003
Posts: 4727

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.


A good workman is known by his tools.
lee anthony
Ranch Hand

Joined: Jan 23, 2004
Posts: 35
my problem is how do i bring it in jtree type view in jsp
 
jQuery in Action, 2nd edition
 
subject: help required
 
Similar Threads
Convert Java.sql.Date to String or Java.util.Date
How to get Date Format of a System??
How to manipulate the Date object in yyyy-MM-DD HH:MM:SS format.
about instance variables in Classic Tag handler?
Date Validation