Hi,

1. have the servlet note every doGet and doPost.
2. create a database table to store the information
above about which page the user has visited; also
store other information like timestamp etc.
3. use a report writer to report on the table.

One can get alot of information on user behaviour
without much overhead at runtime.

ron

ps. as for a counter, do a select on all the 'login'
actions. this will give you a count of the number of
visitors. then display this on your jsp page.

--- Rathna <[EMAIL PROTECTED]> wrote:
> hi sanjay,
>
> you could store the counter variable into the
> session
> so that the counter variable will be assocoated with
> the
> pariticular user.
>
> hope this helps,
>
> with regards,
>            rathna.
>
>
> Sanjay Vashisht wrote:
>
> > Hi All
> > Can I track the user visiting different pages in
> the following manner:-
> >
> > 1.No. of times user visit a particular page
> > 2.If there are 100 users , how to keep track that
> which user has visited
> > which page , how many number of times.
> >
> > If there will be a counter variable for each user
> how do i use that
> > variable and how? Suggestions welcome.
> >
> > Regards
> > Sanjay
> >
> >
>
===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> > Some relevant FAQs on JSP/Servlets can be found
> at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to