Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javascript code dump

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
We are developing an aplication on weblogic server6.0 and the frontend browser is Netscape Navigator 4.76
Some times we get the javascript "js" file code as screen dump. The javascript inside the "js" file is directly displayed to the user in form of HTML code.
this problem is very infrequent and occures erraticaly. Does nyone know how to fix this or what';s the cause of it?
We have set the mime type of the javascript files correctly as application-js file in the ear file.
ny pointers are welcome,
Regards,
Pritam.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using the Weblogic web-server or another one?
I've had the same problem and as far as we were able to track it down, it appeared to be a feature of the web server concatenating the output and not (necessarily) the browser or application server.
Dave.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic