• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

IE Browser Issue

 
Ranch Hand
Posts: 186
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Friends,

I am invoking a JavaScript method on a button onclick, in the JSP it looks like this:



Following is the JS method: From this method i'm calling a Struts action.



The struts action is called successfully from firefox, but from IE 8 the action is not getting invoked. But i'm getting the error message 'File download failed' which i have declared as a struts action error in case of any exception. I have added logs inside the action method and also debugged the action using eclipse. The action is never getting called from the JavaScript in IE 8 but somehow the action error is thrown. There is no stacktrace also.

Please provide your help.

Thanks,
Vijay




 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When you view the page source, does the link look correct that the serverside code generated?

When you look at the request with a tool like Fiddler, does it go out, does it look correct, what is the response?

Eric
 
Vijay Chandran
Ranch Hand
Posts: 186
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Eric,

Thanks for your reply. It was just a cache issue. After deleting the Temporary Internet Files it started working fine in IE 8 also. Wonder how this browser is used by many people in this world..!


Thanks,
Vijay

 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic