After reading through the Google-Caja wiki, I became intrigued by its capabilities. From what I understand, with Caja we can send a snippet of HTML (such as a
I am particularly interested in utilizing this cajoling capability on the server side. My plan is to load an HTML chunk, convert it into a String, send it to Caja for processing, and then insert the returned cajoled String, along with necessary JavaScript (for applying limitations), into my Java web application's response.
The HTML chunk that needs to be cajoled will either be loaded on the server side or pulled from a database, and will be in the form of a String. The language used in my web application is Java.
What JARs and JS files are required for this process? And where should I begin?
Thank you.