Dan Grindstaff wrote:I was told I need to write a wrapper class and I was wondering what all that entails. I believe that I need ti identify the API components of the spellchecker and expose them to web app?
Dan Grindstaff wrote:... it runs as an applet so maybe it cannot be accessed as a library...
Dan Grindstaff wrote:Thanks, again for the great answers! I have some more information that I need to share. I need to somehow modify Jazzy to function on the back end so that I pass it requests from a servlet (string) and it passes back a spelling suggestion if there is an error. These are my marching orders. This seems to me to be a little cumbersome. Shouldn't there be a way to call it's functionality like a program would reference a library? Any ideas would be greatly appreciated. Thanks!
Steve Luke wrote:My fear is that you have client - side code, say an HTML text area, and you want to spell check the contents of it. That is fine, but using JEE technologies (alone) you would do the spell checking on the Server Side. You would have to submit the form, pass the contents through the spell checker as in the code that David provided (best called from a Servlet or an action class called from the Servlet), then send the results of the spell check back to the client. This sounds a bit out of the way, but if you are good with Ajax it may not be so tough..