Accessing Excel worksheet using jsp...

Posted on 2003-10-26
Last Modified: 2008-03-17

    I need to open an excel workbook using JSP, the problem here is i need to show a particular work sheet among available sheets as active work sheet and also i need to show a specific cell as active cell in that work sheet.
  Workbook contains sheet1, sheet2,... sheet10. Here i need to show sheet3 as active worksheet(by default sheet1 will be shown as active). In sheet3, i want to show C3 as active cell, that is, cursor should be on C3 cell.

Plz give me a solution to handle this issue(if an example is provided that will be very useful to me).


Question by:n_moorthy_tech
  • 2

Expert Comment

ID: 9625693

Expert Comment

ID: 9625705
simple approach of setting the content type to application/x-msexcel and then sending html tables which get converted to excel.
or you can use POI as mentioned here
POI will allow you to read and write Excel spreadsheets with pure java code.  You can do all kinds of formatting.
LVL 14

Accepted Solution

kennethxu earned 125 total points
ID: 9627781
The answer to you question is NO with just java/jsp technology.
You'd better look into M$ solution like ActiveX.

Expert Comment

ID: 9637065
these links mught help .. they contain a few code snippets

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
iterator example remove 8 74
sortaSum challenge java 17 171
dynamic reloading of jsp in jetty 2 118
Use tracing facilities in your browser steps 2 110
Note: This is the third blog post in a series on email clearinghouses (   We’ve been talki…
Cloud-based technologies and services will continue to grow in popularity in 2017 thanks to the simple, scalable and cost-effective solutions they deliver. Here are three areas where cloud adoption is poised to really take off.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: (…

920 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

18 Experts available now in Live!

Get 1:1 Help Now