2009/10/27 veena pandit <[email protected]>:
> I don't think i will have to edit and save.  I need to check.
> I think the files are read only.  But thanks to Bruno,
> and this list.  I was able to open the file from within eclipse.

I'm not sure I understand what you mean by opening the file from
within eclipse. If you mean that the code you have written in eclipse
can now open the xls file inside your servlet, then great, there's
progress.

> I can't seem to deploy it and open it in my browser yet.
> Any suggestions on the deployment?

I am not sure I understand this correctly either. When you say that
you want to deploy and open it in your browser, what are you actually
attempting to do? Do you want to see the excel sheet as a web page,
like GoogleDocs do or do you want the browser to receive the file and
open it with Excel?

> I am getting a FacesContext not found
> error.

Well, this means that your JSF configuration is incorrect. The problem
is probably somewhere in your web.xml or faces-config.xml files.
However, this has nothing to do with POI so this list is not the best
place to ask that sort of questions. You'd be better off asking help
for this specific problem on a JSF forum where you have people who can
help better.

It would help enormously if you could describe what you are trying to
do. At the moment, the different bits of information I've gathered
from your various emails tell me that you are writing a JSF
application that runs in a servlet container and that needs to send
Excel files to the user's browser. Is this correct? What I don't
understand is:
1. do you need to modify the Excel file inside the servlet before
sending it to the browser?
2. how do you expect the browser to handle the file?

Bruno

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to