I need to display lots of data obtained from a search to db, preferably in a
table.  I'd really like the user to be able to click the column heading, the
table would then sort based on that column.  And if the user can drag the
line between two columns and resize the column width at his wish, that will
super.  This may not be Struts related, but thought no hurt to ask, in case
there is someone out there who has done something like that.

Any hints will be greatly appreciated.  Mark please forgive me if this
question is too newbie like.

Yanhui



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 12:44 PM
To: [EMAIL PROTECTED]
Subject: RE: the best way to log action "hits"


Log4J can do appends in a database, so just log to a database
and a file.  The contribs have a JdbcAppender. You might want to 
check on the AsyncAppender to avoid having the logging calls 
being executed while the user waits for the request and to delay the
performance hit of the insert (logging call).

So your jsp can query a table, very easy.

Daniel

>Hi,
>I need to change my webapp to log the number of hits certain
>actions get and from which session etc etc. Can anyone point me towards
>the "right" way to look at doing this. Ideally I would use Log4J or
>something
>similar, but I'm a bit worried about having to parse lots
>of large text files every time my boss wants a gander (especially if he
>insists on having it done as a jsp page).

>I know this isn't strictly struts related, but any stabs at how other
people
>have done *in their struts app* appreciated,

>Caoilte


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to