Solved

How to import excel sheet data at WEB client and send to server?

Posted on 2004-10-18
4
146 Views
Last Modified: 2010-04-06
I need to read a excel sheet at client side and send the data to server side.
Also i need to validate the data at server side.
Let me know how can i do this. Server side i am using JSP.
0
Comment
Question by:AbhijitCPatil
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 125 total points
ID: 12342244
You should be able to upload with a form:

<form method="post" enctype="multipart/form-data" action="your.jsp">
<input type="file">
</form>

Cd&
0
 
LVL 2

Assisted Solution

by:Panadmin
Panadmin earned 125 total points
ID: 12479424
Web browsers ideally impose tight security restrictions that don't allow client-side script to read files from the hard disk. It's usually easier to upload the file using the method COBOLdinosaur proposed and process the file on the server than it is to read it on the client.

When I needed to do this in ASP, I based my work off of a web search for "ASP Upload component" a similar search for "JSP upload" turns up
http://sourceforge.net/projects/megaupload

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question