we had similar issues with the spellcheck service.i don't know how to
call your own servlet, but maybe this will help:after decompiling the
default servlet, i figured out, that you cnn pass the parameter
"language" to the service.Unfortunately, this doesn't work out of the
box.You have to modify the SpellCheckerPlugin and add the language
parameter before calling the service.Checkout the "checkText" function
and add the language parameter to the "param" variable
in/libs/cq/ui/widgets/source/widg...