How to define beans in service-context.xml for JS files?

cancel
Showing results for 
Search instead for 
Did you mean: 
YanFeiHu
Member II

How to define beans in service-context.xml for JS files?

Hi Community;

     How to define a new bean in 'service-context.xml' for a JS file?

     Please refer the picture as below.

     Thanks!

add js into xml.png

2 Replies
abhinavmishra14
Advanced

Re: How to define beans in service-context.xml for JS files?

I am not sure what you are trying to do. but no bean defition needed for a rule action script if that's what you are trying to use. The script has to be included in rule-details webscript if the script is a custom rule action script. 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)
YanFeiHu
Member II

Re: How to define beans in service-context.xml for JS files?

Hi Abhinav;

     Thank you for your advice.

     I deal with it myself.