cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Error 500 - Internal Server error while calling .xsjs file in HANA XS CLassic

varun5nov51
Explorer
0 Kudos

Hello All,

I am trying to call a URL : http://<hostname>:8000/mycompany/MyFirstJavaFile.xsjs

and getting Error 500 - Internal Server error .Below are the files which have been created

a) .xsaccess file

{

"exposed" : true,

"authentication" :

{

"method": "Form"

},

"cache_control" : "must-revalidate",

"cors" :

{

"enabled" : false

},

"enable_etags" : false,

"force_ssl" : false,

"prevent_xsrf" : true

}

b) .xsjs file

$.reponse.contentType = "text/HTML";

$.response.setBody = "Hello !!! This is my fist Javascript file";

I am new to hana and trying to learn it from very basic. The hierarchy of my development is in image error.png . Kindly help me in resolving this issue.

Accepted Solutions (0)

Answers (0)