File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes javascript code dump Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "javascript code dump" Watch "javascript code dump" New topic
Author

javascript code dump

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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

Joined: Mar 06, 2001
Posts: 13459

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javascript code dump