« Return to Thread: Error when starting my app via index.html

Re: Error when starting my app via index.html

by ddelrivero :: Rate this Message:

Reply to Author | View in Thread

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@...

 « Return to Thread: Error when starting my app via index.html