Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1050381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:45:44+00:00 2026-05-16T16:45:44+00:00

The end user will select an excel file on executing the below jsp program.

  • 0

The end user will select an excel file on executing the below jsp program.

   <form action="?? " method="post" enctype="multipart/form-data" name="form1" id="form1"> 

    Upload File:
   <input name="file" type="file" id="file"><br><br>
   <input type="submit" name="Submit" value="Submit"/><br><br>
   <input type="reset" name="Reset" value="Reset"/>   
   </form>

The excel sheet will be in a specified format which need to be read and compared with the contents of Database.

My query here is how should I proceed with this once the user browses the excel file and submits the jsp form.

How the excel sheet can be invoked to a java program and please explain me the steps of doing the same. Am a beginner in java and I would be so thankful if your answer is self explanatory.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T16:45:45+00:00Added an answer on May 16, 2026 at 4:45 pm

    You can manipulate Excel documents with the Apache POI API.


    Your action should redirect you to a servlet which will handle the file. You’ll need to handle multipart files, you can use Apache file upload to do this.


    Resources :

    • Apache POI – Case studies
    • Apache POI – FAQ
    • Reading and Writing Excel Files with POI
    • How do I upload a file to my servlet or JSP?
    • How to use apache fileupload

    On the same topic :

    • Learning Apache POI for Java
    • Reading date values from excel cell using POI HSSF API
    • Managing file uploads in JSP/Servlets
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a project where the requirements is that a end user will select
I have a form where the user will select a date range, and then
I am creating a web form on asp.net that will allow the end user
I have a ASP page where a user will upload a excel file. After
I'm trying to do this in a way that will prevent end-user browser security
I'm writing a Cocoa OS X (Leopard 10.5+) end-user program that's using timestamps to
The goal is to have a single-threaded event-driven framework. The end-user will do something
My user will select an initial year, I want mysql to select the value
I'm currently working on a project where a user will select a bunch of
ok so i have this helper def playlist_count(user, site_id) user.companies.local(site_id).map(&:playlists).flatten.count end which will return

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.