permission denied problem in ajax

Hi,I got this error while i am running a simple ajax application with java...Error: uncaught exception: Permission denied to call method XMLHttpRequest.openAny Idea about this...Thanks
[219 byte] By [pvanjavaa] at [2007-11-26 18:31:09]
# 1
are u trying to get something from a different domain?
mshanua at 2007-7-9 6:05:18 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
no,this is my ajax jsp. http://localhost/ajax/ajax3.jspthat is running from D:\programs\Tomcat5.5\webapps\ROOT\ajax\ajax3.jspand it uses a class word.javathat is in D:\programs\Tomcat5.5\webapps\ROOT\WEB-INF\classes\ajax
pvanjavaa at 2007-7-9 6:05:18 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
are u tryin to call " http://localhost/ajax/ajax3.jsp" through xmlhttprequest? or from ajax3.jsp u are trying to call any jsp or servlet though xmlhttprequest?
mshanua at 2007-7-9 6:05:18 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...