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]
# 1

> 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?

CeciNEstPasUnProgrammeura at 2007-7-12 11:47:24 > top of Java-index,Java Essentials,New To Java...
# 2
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
tatskiea at 2007-7-12 11:47:24 > top of Java-index,Java Essentials,New To Java...
# 3

> 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?

CeciNEstPasUnProgrammeura at 2007-7-12 11:47:24 > top of Java-index,Java Essentials,New To Java...
# 4
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.?
tatskiea at 2007-7-12 11:47:24 > top of Java-index,Java Essentials,New To Java...