Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do i track clicks with jsp/servlets?

843842Mar 2 2009 — edited Mar 4 2009
I would like to know how to imitate the click of link in JSP or serlvet, in order to track clicks.

I have pages with links containing tel protocol URIs like this:
Click here to listen!

I want to replace the above with something like this:
Click here to listen!

And have call_tracking.jsp do its tracking stuff and then spawn a phone call, just like the first example does. I do not want to bother the user with another page, hence the need to accomplish the click action programmatically. I presume this feat is achievable via Response header magic, I just don't know the right incantation ;-)

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 1 2009
Added on Mar 2 2009
2 comments
128 views