viewing / saving excel file in JSPage
sorry if this may cause double posting, i have just search any existing topic but still i wasnt able to find the closest one.
im a newbie in java 2 EE..
the scenario is on my JSP page i create a text link and this link was taken from database (i.e. C:\Test.xls) - that was the attachment path for instance, then my simple question is what should i do in order that when i clicked it , the attachment will be download or open?
any good views is complimented.
thanks.
[497 byte] By [
tatsa] at [2007-11-27 5:22:08]

> the scenario is on my JSP page i create a text link
> and this link was taken from database (i.e.
> C:\Test.xls) - that was the attachment path for
> instance, then my simple question is what should i do
> in order that when i clicked it , the attachment will
> be download or open?
Nothing. That's standard behavior for a link in a browser.
What exactly is your problem?
my problem is that , i want to download or open the said attachment from the server , upon clicking the hot text (attachment path from the server) in the JSPage.sorry if my above post was confusing,i just change my screen name.tats
> my problem is that , i want to download or open the
> said attachment from the server , upon clicking the
> hot text (attachment path from the server) in the
> JSPage.
You can't click on a JSP. You can click on an HTML page produced by a JSP. Is that HTML correct?
yup, on an html page it displayed as list on the table created by JSP. but how do i make an action inside JSP code so that uopn clicking on to it , a download dialog will open.?