counts the number of hit on a website containing many JSPs
- From: Garg <sendtogarg@xxxxxxxxx>
- Date: Mon, 30 Jun 2008 10:33:42 -0700 (PDT)
Hi All,
I am having a scenario in which I am having a full public website,
which won't require any login. I want to count the number of hits to
that website.
like :
1.
count = 0
if i hit http://www.abc.com/xyz1.jsp then count should become 1
and if i hit on http://www.abc.com/xyz2.jsp then count should become 2
(I am writing these urls in the address bar and clicking enter)
2.
count=0
if I hit http://www.abc.com/xyz1.jsp then count should become 1 and
then if I navigate to http://www.abc.com/xyz2.jsp by clicking any
hyper link on xyz1.jsp file the count should remain 1
I this i don't want to put the code in every JSP. I need a common
place.
So please tell me where I should put my code and variable count.
Thanks in advance,
Tarun
.
- Follow-Ups:
- Re: counts the number of hit on a website containing many JSPs
- From: Abhijat Vatsyayan
- Re: counts the number of hit on a website containing many JSPs
- From: Lew
- Re: counts the number of hit on a website containing many JSPs
- Prev by Date: Re: FTPClient and CopyStreamAdapter stop sometimes
- Next by Date: Re: Border Around JPanel
- Previous by thread: java tutorial available for download
- Next by thread: Re: counts the number of hit on a website containing many JSPs
- Index(es):
Relevant Pages
|