...

View Full Version : Code for Copy & Paste from Html Table in JSP to Excel file



javatechguru200
10-12-2006, 09:41 PM
I am creating a html table in JSP file .
I need code for 'Cut,Copy,Paste' functions ie. if someone wants to copy data from my table to excel file or from excel file to html table he shud be able to do that.
Can someone give me code for 'Cut,Copy and Paste' i.e. some javascript functions which can do cut, copy and paste which i can put in my jsp file

Thanks

felgall
10-12-2006, 10:04 PM
They are operating system functions and not web page functions. Since most web browsers can run on multiple operating systems and don't allow the web page to interface much with the browser and not at all with the operating system this can't be done in those browsers.

The sole exception is Internet Explorer which now only runs on Windows and which provides access to the browser and operating system for when it is being used on intranets. When it is being used on the internet the security settings of the system should block that functionality if the security is set up correctly.

javatechguru200
10-13-2006, 02:06 PM
I want to use these functions for web page which will be implemented in my company i.e. intranet and not for internet application.
The browser used is I.E



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum