This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance 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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic