Re: [OT] Using jsp/serlvets to track clicking

2009-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan, On 3/3/2009 5:46 PM, Jonathan Mast wrote: > Also, I tried the response.sendRedirect("tel:5"); approach > recommended by Christopher and that resulted in a MalFormed URL error on the > phone. Hmm... are you sure that the "tel:" prefi

Re: [OT] Using jsp/serlvets to track clicking

2009-03-03 Thread Jonathan Mast
Will doing such make the user-agent behave like it has just clicked a link? Also, I tried the response.sendRedirect("tel:5"); approach recommended by Christopher and that resulted in a MalFormed URL error on the phone. thanks On Tue, Mar 3, 2009 at 1:56 PM, Juha Laiho wrote: > Jonathan

Re: [OT] Using jsp/serlvets to track clicking

2009-03-03 Thread Juha Laiho
Jonathan Mast wrote: > 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!

RE: [OT] Using jsp/serlvets to track clicking

2009-03-02 Thread Martin Gainty
not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Mon, 2 Mar 2009 17:18:09 -0500 > Subject: Re: [OT] Using jsp/serlvets to track clicking > From: jhmast.develo...@gmail.com &g

Re: [OT] Using jsp/serlvets to track clicking

2009-03-02 Thread Ken Bowen
I see your problem. However, I do believe that most of the recent smart phones support javascript, including basic Ajax. Definitely iPhone/iTouch, and I believe the T1 too. I'm not sure about the most recent Blackberries and Nokias (but it's something I need to find out). I guess it would d

Re: [OT] Using jsp/serlvets to track clicking

2009-03-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan, On 3/2/2009 5:18 PM, Jonathan Mast wrote: > Thanks Ken, the problem with this solution is that these pages are for > viewing on mobile phones, most of which do not have JavaScript capability. > > What I had in mind was akin to what I do on

Re: [OT] Using jsp/serlvets to track clicking

2009-03-02 Thread Jonathan Mast
Thanks Ken, the problem with this solution is that these pages are for viewing on mobile phones, most of which do not have JavaScript capability. What I had in mind was akin to what I do on regular website when I want a link to generate a file that is saved to disk (an excel report app, for instan

Re: [OT] Using jsp/serlvets to track clicking

2009-03-02 Thread Ken Bowen
Well, a very generic way of getting a hold of a "click" in the kind of setting you're describing would be to an an "onclick" to the link, invoking some Javascript doing whatever you want. Maybe something like here to listen! Almost all html entities support onclick. --Ken On Mar 2, 2009,

[OT] Using jsp/serlvets to track clicking

2009-03-02 Thread Jonathan Mast
[Sorry for this non-Tomcat specific question, but Sun Forums didn't help me much with this one] 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 repla