File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help required
 
Similar Threads
How to manipulate the Date object in yyyy-MM-DD HH:MM:SS format.
How to get Date Format of a System??
about instance variables in Classic Tag handler?
Date Validation
Convert Java.sql.Date to String or Java.util.Date