File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes jsp hits counter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp hits counter" Watch "jsp hits counter" New topic

jsp hits counter

ritesh srivastav

Joined: Nov 30, 2012
Posts: 8
i have write a code for unique hits counter on website but its not work please help

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

In the future please UseCodeTags (I added them for you) and read ItDoesntWorkIsUseless.

That said, why the check for a new session? what does the session have to do with anything?

And please be aware that putting Java code in a JSP is something that's been obsolete for 12 years. You should not be writing JSPs with Java code within them any longer.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: jsp hits counter
It's not a secret anymore!