aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Submit Embedded Object data to Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Submit Embedded Object data to Server" Watch "Submit Embedded Object data to Server" New topic
Author

Submit Embedded Object data to Server

Mohammed Banda Ali
Greenhorn

Joined: Nov 15, 2006
Posts: 3
Is it possible to submit embedded object like Excel Sheet from the browser to server?.

Background
I have a html page which contains mulitple section of data and in one section i have a iframe in which i have embedded Excel Sheet. Now I would like submit the iframe so that server reads the byte[] of the excel sheet.

Could anyone can help in resolving the problem
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

No. You can upload a file from the client to the server using an input element of type "file" (and appopriate server-side code), but you cannot submit the content of an iframe.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Mohammed Banda Ali
Greenhorn

Joined: Nov 15, 2006
Posts: 3
I heard that we can use ActiveX and achieve it and but NOT sure how to do it.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

Could be, but I never code anything that's proprietary and limited to only IE, so I wouldn't know.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Submit Embedded Object data to Server