This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

call link to generate jasperreports by IE doesn't work.  RSS feed

 
Myria Ben
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First I call this url by IE.

http://localhost:8080/bizVelocity/salesMgmt/officer/prePOSSalesReceiptFull.do?documentID=aa_stationID3_0

When I call this url above by netscape ,it's work.
The system will call acrobat reader to open pdf (on the fly).
But if call by Internet Explorer it doesn't work and these popup window occur.

File Download
Some files can harm your computer. If the file information below
looks suspicious, or you do not fully trust the source, do not open or
save this file.
File name: prePOSSalesReceiptFull.do?documentID=aa_stationID3_0
File type: Adobe Acrobat Control for ActiveX
From: localhost

This type of file could harm your computer if it contains malicious code.

Would you like to open the file or save it to your computer?

Open Save Cancel MoreInfo

If I choose "Open" button :
Internet Explorer cannot download prePOSSalesReceiptFull.do?documentID=aa_stationID3_0 from localhost
Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be
found. Please try again later.

If I choose "Save" button :
Internet Explorer cannot download prePOSSalesReceiptFull.do?documentID=aa_stationID3_0 from localhost
Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be
found. Please try again later.

How can I do ,pls suggest?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you set the content-type and the content-disposition headers?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!