Mili Aggarwal, Noida wrote:
Hello,
Its not taking the name of the servlet in Url..Its taking the name of form
action in URL and that's where the problem is.
You need to redirect instead of forward (setRedirect(true) or something).
Cheers,
Manos
---
PM
To: Struts Users Mailing List
Subject: Re: Displaying XL in browser
Just off the top of my head here, I'd try having a servlet mapping
that looks like this:
ExcelServlet
/excel/*.xls
Then, in your links to the servlet, use a randomly generated string
for the '*'
notify the sender
immediately by return e-mail and delete it from your computer.
-Original Message-
From: Tom Ziemer [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 17, 2005 7:02 PM
To: Struts Users Mailing List
Subject: Re: Displaying XL in browser
Hi,
you could try to use
Just off the top of my head here, I'd try having a servlet mapping
that looks like this:
ExcelServlet
/excel/*.xls
Then, in your links to the servlet, use a randomly generated string
for the '*' part. Your browser will see this as a different name each
time.
Since you're using a S
Hi,
you could try to use
response.addHeader("Content-Disposition", "inline; filename=filename");
and set the "filename" dynamically.
Ta Ta For Now,
Tom
Mili Aggarwal, Noida wrote:
Hello All,
I wish to display an Excel in browser. I am using struts framework.
Thus,in Action I have returned a
5 matches
Mail list logo