Solved

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

Posted on 2004-10-18
4
142 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CGI takes almost 2 minutes to load using thttpd 20 43
Web Application Architecture 6 75
Problem to run file 9 103
Using YubiKey with REST API application 2 106
It's sometimes a bit tricky to use date functions in Oracle BPEL. I'll explain quickly how you can add N days to the current date. In a BPEL process this can be useful, and you can adapt it to fit your needs. First of all, let's see how to add 1 …
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…
The viewer will learn how to dynamically set the form action using jQuery.
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)

919 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now