Hi, I have a page that outputs an html form... the form contains a small javascript which does a redirect in another frame after clicking a link (the link triggers an onclick event which calls a javascript function). However, I keep getting this error: ************** JavaScript Error: access disallowed from scripts at http://darwin.cc.ndsu.nodak.edu:8080/servlet/ndsuy2k to documents at another domain **************** When I test the output of the page in a plain html page (copy and paste) all the javascript functions seem to work. The problem only comes up when I tried to activate the functions from the output of my servlet (although it looks exactly the same). I am using the latest Sun's Java Web Server. Any idea what the problem might be. Here is the output of my servlet: <html> <SCRIPT LANGUAGE="JavaScript"> function software(){ parent.software.location = "http://www.ndsu.nodak.edu"; } </SCRIPT> <head><title> </title></head> <body><BR> Mozilla/4.51 (Macintosh; I; PPC)<BR> <FORM ACTION="http://darwin.cc.ndsu.nodak.edu:8080/ndsu.html" method="POST"> The operatin system of your machine is Macintosh Power PC<BR> If that is the OS that you wish to check compatibility then click the submit button or select another operating system.<BR><BR> <INPUT TYPE=RADIO NAME=OS VALUE=WIN >WIN 3.1<br> <INPUT TYPE=RADIO NAME=OS VALUE=WIN >WIN 95<br> <INPUT TYPE=RADIO NAME=OS VALUE=WIN >WIN 98<br> <INPUT TYPE=RADIO NAME=OS VALUE=WIN >WIN NT<br> <INPUT TYPE=RADIO NAME=OS VALUE=WIN CHECKED >Mac PPC<br> <INPUT TYPE=RADIO NAME=OS VALUE=WIN >Mac 68k<br> <INPUT TYPE=RADIO NAME=OS VALUE=WIN >Unix<br><BR> <A href="javascript:void(0);" OnClick="software();">testing</a> <BR><BR>the session id is you have been here before...<br> </FORM> </body> </html> Thanks. Felix. _____________________________________________________ Felix Guerrero Multimedia Technologist ITS (Information Technology Services) IACC Building Room 246 North Dakota State University Fargo, ND 58105 Ph. Office: (701) 231 6284 Fax: (701) 231 8541 ____________________________________________________ ___________________________________________________________________________ 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
