Hello,
I use Tomcat 5.x for a web application and i would like to write a
access-log for certain filetypes (pdf, jsp, htm) into a database-table
(not into a file).
I considered to write the access-log to a file first and then transfer
it to the database. However, this solution is not satisficing, because i
need the data immediately. If a user accesses a jsp-file, the
application should know, which urls the user accessed before (e.g.:
select url from logTable where cookie=...).
Logging via a writeToDataBase(*this_request*)-Method within the jsps
wouldn't help, because i cannot log access on pdf- or htm-files in this way.
Is there a possibility to configure Tomcat in a way that it writes
certain requests into a database (or are there any add-ons which could
help)?
I'm quite a newbie in this area and since i couldn't find anything
useful on the web i appreciate every kind of advice or idea.
best regards,
Thomas
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]