...

View Full Version : Handling mouse events in JSP



bhargavkumar_b
01-21-2008, 07:42 AM
Hi ,

I have to handle mouse events in JSP,means i have to handle the event of the user i.e, if he press the lest click we have to handle that event where he pressed it with JSP. Iam finding examples in Applets , nut i have to do it in JSP.Can any body help me please? it's very urgent.

Thanks in advance
BhargavKumar.B
Edit/Delete Message

Roelf
01-21-2008, 08:27 AM
Hi,
Mouse events are client events. So to handle these events, you have to execute code at the client first. So JavaScript is the way to go here. In the JavaScript, you can communicate with the server using xmlhttp (and then you are talking ajax) or post a form to a jsp page. If communication with a backend is not needed, you can handle everything in JavaScript. Just have your jsp page output all the things you need to the client.

bhargavkumar_b
01-22-2008, 06:12 AM
Hi,
Thanks for u r quick reply.Can u suggest me any sample code or links which are available this code.

Thanks in advance
BhargavKumar.B



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum