Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

�Undefined Error� on download file

Hariharan Sivaraman
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jsp which has a download button. This JSP is part of a frameset .
Download function enables user to download files from server to client machine
Download action submits to a servlet which opens servletoutputstream to write the csv file contents.
First time when i click on download button, the action is successful and download save - open dialog is displayed and i am able to save the csv file to the desired location.But second time when i click on download button or any other button in the same JSP , i get "Undefined error".
This is because form object is not recognized.

Also this problem does not occur in NN 7.1 .Only in IE6 we get this .

Please note that we have the same download functionality on another page which is not a part of any frameset .Here the download works fine with same sever code ,how many ever times it is clicked .

So it is because my jsp is a part of the frameset that this error occurs .
How do i over come this "Undefined error"? we are nearing the deadline date ,so any help is really appreciated
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic