If you dont want to do a search, you could just log the info ( call
ServletContext.log() ). If not, you could collect the info in a context
attribute, and periodically submit all the requests ( like once in 4
hours ) together to a database.
-- padhu
Campano, Troy wrote:
I want to track each page a user goes to in a database from my JSP web app.
What I use to do is at the top of every page I would capture the user and page information and do an insert into the database.
But it seems that doing an insert into the database on every page load might be a little inefficient.
Does anyone have an idea on how to capture these stats?
thank you!
~ Troy Campano
=
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com