Hi, all

I have a form with one text field ( name = vendor ) which needs to be
filled by searching an Oracle table. There is a search button next to
it. When it is clicked, a window will be poped out, with a text field (
name = vndSearch )  and a search button. When users input some key words
into the text field (vndSearch), and click the search button, a SELECT
field with many options will be listed and a OK button will also be
displayed. This OK button is associated with a Javascript, which will
get the selected value and fill it into the text field (vendor) of its
parent (opener) window. I got the the following error message in my
Javascript debug console:
===========================================
JavaScript Error:
http://127.0.0.1:8000/servlet/findVendor?vndSearch=ab, line
7:

access disallowed from scripts at
http://127.0.0.1:8000/servlet/findVendor?vndSearch=ab to
documents at another domain.
============================================
However, when I took the servlet away, i.e. just pure html actions, I
mean save the servlet results with options in html, and click OK, it
worked.

Could someone please give me some clue what the error means or some
other better solutions?
Thanks a lot.

Yaochun Zhang

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to