0

I have added a java script file, named 'dtformat.js' in my oracle apex application. The file was added inside the Static Application Files directory. I added the file in my page using the code

 <script src="#APP_IMAGES#dtformat.js" type="text/javascript">  </script>

The console log shows an error,

Loading failed for the <script> with source “#WORKSPACE/r/140/files/static/v74/dtformat.js”. 1 f:471

Then I found something at the location of static files. The size of the uploaded file shows 833, all the other files show 100KB,21KB,300KB as the file size, but this file- dtformat.js shows 833 and not 833KB. KB is excluded. What might be causing this error?

1 Answer 1

1

The problem is the path: why #WORKSPACE string is in the path?

#WORKSPACE/r/140/files/static/v74/dtformat.js
Sign up to request clarification or add additional context in comments.

9 Comments

Sorry sir, it was my ip address+workspace name. That is why I replaced it to #WORKSPACE
Can you open this file in the browse?
Will check it tomorrow. It is night here. But what may be the reason that my uploaded file doesn't show size in KB?
No, I think the size is not the problem. You need to certify if the correct file was uploaded and if you can open it in the browser with the url gererated by this "#APP_IMAGES#dtformat.js".
Will check it next day.
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.