File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Object doesn't support this property or method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Object doesn Watch "Object doesn New topic
Author

Object doesn't support this property or method

Smita Ahuja
Greenhorn

Joined: Sep 23, 2013
Posts: 28
Hi,

I Developed a struts1.2 application , In one of the jsp function called on button(<input TYPE="button" name="action" value="Submit" ALT="BTN_SUBMIT" onclick='javascript:onSubmit("<bean:write name="dResult" property="completeFilePath"/>")'>) click I am calling below code :
function onSubmit(filename){
document.forms[0].action = "/CordellSearchProject/SubmitIt.do?filename=" + filename;
document.forms[0].name = "searchForm";
document.forms[0].setAttribute("method", "post");
document.forms[0].submit();
}
Its working fine in every browser(IE 9, Firefox,Chrome), but in IE 8 its throwing an error "Object doesn't support this property or method"

Please help, any kind of help would be appreciated.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8877
    
    8

Please do not post the same question more than once. It causes confusion and duplication of effort as the community tries to help everyone.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Object doesn't support this property or method