I am getting Oject Expected error.i am unable to find the reason . Can u tell me the senarios when this error ocurs.
+1
A:
This is a typical JavaScript error message, not a JSP error message. JSP is a view technology providing a template for HTML/CSS/JS. When writing JS in a JSP page and having problems with it, it's not caused by JSP, but just by yourself. You would have exactly the same problem when doing so in a "plain" HTML file.
The most common cause of this error message is a syntax error in the JavaScript code or a misspelling in the function name. Verify if your JS code is all right, i.e. there are no missing braces, parens nor semicolons and ensure that all calls to functions are spelled correctly.
Also see this site for more information.
BalusC
2010-06-04 11:22:48