|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Error when starting my app via index.htmlMy index.html is below. When I start the application via index.html
I receive the following exception via an alert dialog: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXMLHttpRequest.send] Any help is greatly appreciated. Thanks. <html> <head> <title>TIBCO General Interface(TM) - Professional Edition</title> <script type='text/javascript' src='dwr/interface/DWRMethods.js'> </script> <script type='text/javascript' src='dwr/engine.js'> </script> <script type='text/javascript' src='dwr/util.js'> </script> </head> <body BGCOLOR="#9898a5" SCROLL="no" style="position:absolute;width:100%;height:100%;left:0px;top:0px;padding:0px;margin:0px;border:0px;overflow:hidden;"> <div id="jsxmain" style="position:absolute;left:0px;top:0px;width:100%;height:100%;"> <script type="text/javascript" src="./JSX/js/JSX30.js" jsxapppath="./TibcoGI/JSXAPPS/myGIApp/" > </script> </div> </body> </html> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Error when starting my app via index.htmlHi,
I saw your code.. probably the error is caused because the browser is requesting a file that doesn't exists(in the location you specified): <script type="text/javascript" src="./JSX/js/JSX30.js" jsxapppath="./TibcoGI/JSXAPPS/myGIApp/" > look at this paths: src="./JSX/js/JSX30 jsjsxapppath="./TibcoGI/JSXAPPS/myGIApp/ make sure you have a directory structure where directories JSX and TibcoGI are in the same level as your index.html (as stated in path you gave). Otherwise reorganize your directory structure some more standard way.. or just modify the paths in your script tag. Regards. Damian del Rivero Kevin Sitron writes: > My index.html is below. When I start the application via index.html > I receive the following exception via an alert dialog: > > Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) > [nsIXMLHttpRequest.send] > > > Any help is greatly appreciated. Thanks. > > > > <html> > <head> > <title>TIBCO General Interface(TM) - Professional Edition</title> > <script type='text/javascript' src='dwr/interface/DWRMethods.js'> > </script> > <script type='text/javascript' src='dwr/engine.js'> </script> > <script type='text/javascript' src='dwr/util.js'> </script> > > </head> > > <body BGCOLOR="#9898a5" SCROLL="no" > > style="position:absolute;width:100%;height:100%;left:0px;top:0px;padding:0px;margin:0px;border:0px;overflow:hidden;"> > > <div id="jsxmain" > style="position:absolute;left:0px;top:0px;width:100%;height:100%;"> > <script type="text/javascript" src="./JSX/js/JSX30.js" > jsxapppath="./TibcoGI/JSXAPPS/myGIApp/" > > > </script> > </div> > > </body> > </html> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Re: Error when starting my app via index.htmlThanks for the reply. I have the directory structure you suggested.
The problem still remained. I believe the problem emanates from engine.js Switching to dwr release 2.0.3 (from 3.0M1) solved the problem. Thanks again. On Wed, 2008-04-30 at 22:24 -0400, ddelrivero@... wrote: > Hi, > > I saw your code.. probably the error is caused because the browser is > requesting a file that doesn't exists(in the location you specified): > > <script type="text/javascript" src="./JSX/js/JSX30.js" > jsxapppath="./TibcoGI/JSXAPPS/myGIApp/" > > > > look at this paths: > src="./JSX/js/JSX30 > jsjsxapppath="./TibcoGI/JSXAPPS/myGIApp/ > > make sure you have a directory structure where directories JSX and TibcoGI > are in the same level as your index.html (as stated in path you gave). > Otherwise reorganize your directory structure some more standard way.. or > just modify the paths in your script tag. > > Regards. > Damian del Rivero > > > Kevin Sitron writes: > > > My index.html is below. When I start the application via index.html > > I receive the following exception via an alert dialog: > > > > Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) > > [nsIXMLHttpRequest.send] > > > > > > Any help is greatly appreciated. Thanks. > > > > > > > > <html> > > <head> > > <title>TIBCO General Interface(TM) - Professional Edition</title> > > <script type='text/javascript' src='dwr/interface/DWRMethods.js'> > > </script> > > <script type='text/javascript' src='dwr/engine.js'> </script> > > <script type='text/javascript' src='dwr/util.js'> </script> > > > > </head> > > > > <body BGCOLOR="#9898a5" SCROLL="no" > > > > style="position:absolute;width:100%;height:100%;left:0px;top:0px;padding:0px;margin:0px;border:0px;overflow:hidden;"> > > > > <div id="jsxmain" > > style="position:absolute;left:0px;top:0px;width:100%;height:100%;"> > > <script type="text/javascript" src="./JSX/js/JSX30.js" > > jsxapppath="./TibcoGI/JSXAPPS/myGIApp/" > > > > > </script> > > </div> > > > > </body> > > </html> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@... > > For additional commands, e-mail: users-help@... > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free Forum Powered by Nabble | Forum Help |