function adding() {
var newstitle = document.getElementById('newstitle').value;
var exp = document.getElementById('editor').value;
getData('ajaxphpfiles/loader.php','output','newstitle='+ newstitle +'&exp='+ exp +'&mode=add')
}
<textarea class="textarea" cols="80" id="editor" name="exp" rows="10"></textarea> <script type="text/javascript"> CKEDITOR.replace( 'editor' ); </script>

Re: help: how to getting data with java?
http://docs.cksource.com/CKEditor_3.x/D ... ntegration