aspose file tools*
The moose likes JSP and the fly likes accessing jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "accessing jsp" Watch "accessing jsp" New topic
Author

accessing jsp

A Babu
Ranch Hand

Joined: Nov 28, 2005
Posts: 114
hi all,
how to know the number of clients access the particuler jsp page.

cheers,
babu.


Thanks,
www.Admakr.in
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
You can maintain logs using filter.
A Babu
Ranch Hand

Joined: Nov 28, 2005
Posts: 114
hi,

how can we do maintaining logs using filters ,can u explain eloborately.

cheers,
babu.
[ February 06, 2006: Message edited by: A Babu ]
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
You will have to read up on filters. What you want to do is associate a filter with a particular reesource (servlet/JSP), and have that filter increment a count and log it whenever the resource is accesed.

You can also achieve this without using a filter, by having the resource itself do the logging.


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: accessing jsp