Solved

Accessing Excel worksheet using jsp...

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

  Hi,
    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.
Example:
  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).

  regards,
  Narayan

 
0
Comment
Question by:n_moorthy_tech
[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
  • 2
6 Comments
 
LVL 2

Expert Comment

by:Karaa
ID: 9625693
0
 
LVL 2

Expert Comment

by:Karaa
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
http://jakarta.apache.org/poi/
POI will allow you to read and write Excel spreadsheets with pure java code.  You can do all kinds of formatting.
0
 
LVL 14

Accepted Solution

by:
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.
0
 
LVL 3

Expert Comment

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

http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=3&t=000766
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

Building a cohesive image for your brand is vital to making an impression on consumers. When the economy is tough, brands do better than unbranded  products. This can have a huge impact on your long-term profits, as the economy goes up and down.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 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