cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with JavaScript compression

Former Member
0 Kudos

Hello,

we use the Echo2 framework by NextApp for our web frontends. It supports AJAX an makes use of JavaScript compression.

I deployed an Echo2 test application successfully to SAP Web AS. But it doesn't run properly. There seems to be a problem with the JavaScript compression. Instead of the Script a bunch of cryptic characters arrives at the client side.

I tried to enable JavaScript compression like described in

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d164c5ee-0901-0010-4fbf-d0856b5c8a84">this paper</a> (3.3.1),

but without success.

Does anybody has a clue how I could solve this problem?

regards

Daniel

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

The JavaScript compression problem is solved. SAP Web AS compressed the compressed JavaScript another time. Though the JavaScript MIME types were set in the NeverCompressed field, the Echo framework sends JavaScript with "text/plain". I just added "text/plain" to the NeverCompressed list and it worked. At least the JavaScript arrives now in a readable foram at the client side.

regards

Daniel