I love FckEditor and I use it with PHP too. but i was sad why there is no SpellChecker.jsp on your project. So I learned your PHP code and convert to JSP Code. I thought so many java developer had same problem with me.
I have tested this code to my project and still running till now and my clients love it. and have tested using windows xp, windows 98, linux, and apple as server. my web server is tomcat and my jdk was jdk1.4 and now using Jdk 1.5
Hi, I am using the linux with tomcat server, I tried including the jsp code for spell check.
When I click the spell check link in FCK editor, the pop-up window open, but the data are not loading and moreover I didn't able to type anything in that page. If I click on any button it shows me alert message stating that "Error:"Not in dictionary" text is missing".
When I use the code from the second post with the proper commented sections I get the following error: this.originalSpellings[...].length is null or not an object and then two: Object does not support this method or property errors
I can't figure out where/why that is happening, wondered if anyone else had encountered and fixed it. Or at least had an idea how to.
Hi, everybody! I wonder how it works with UTF-8 symbols especially 3-byte's when they are part of misspeled word. I have had troubles with it. But I couldn't use this jsp as it is anyway because I use InDesign server for spellchecking instead of aspell. So I had to write it all differently but at least I suggest setting response.setCharacterEncoding("UTF-8"); somewere before using out.write().
shahid wrote:Hi, great stuff by Wendy !!! thanks for posting
I am however facing the same problem as mentioned above, the top frame of the spellcheck window (pop up), keeps display the "spell check in progress" message, and then nothing happens.
The reason it was appearing blank in my case was because of a javascript error. Check your JS Error console if you are getting any JS errors. Correct those and then the spell check starts working.
I have tried all the steps mentioned above. It just display 'Spell check in progress...'. I am not sure what is going on. my environment is windows xp and running tomcat. installed Aspell and also made suggested changes.. it does not display any error message either.
I have it working in IE , but works only for one line. as soon as entered the second line it throws a javascript error this.originalspellings.length is null..and in firefox.. it does not work at all.. any one tested this? please help.
Finally I am able to make it work in Firefox, but IE always throw javascript error. It is not loading the originalSpellings. I am using IE7. let me know if you guys implemented successfully.
spanduga - I'm running the same environment as you (Windows XP / Tomcat) but I still get 'Spell check in progress...' and nothing else. I noticed that your latest file is configured for Linux. Can you post the Windows version you are using.
I've tried the file you posted with the obvious changes for Windows, but am still having no joy!
Re: The Newest spellchecker.jsp For JAva Programmer
Re: The Newest spellchecker.jsp For JAva Programmer
First of all, thanks a lot for the code of this jsp.
I try to use it on windows XP ans WAS6 (I decommented the correct lines), but at the execution time, it seems like p1.waitfor() loops eternally ...
Has anybody an idea of what causes that ? Thanks a lot !
I've seen that cmd -c doesn't seem to use the third argument so I tried without it but that's the same.
Re: The Newest spellchecker.jsp For JAva Programmer
Cheers,
Vincent
Re: The Newest spellchecker.jsp For JAva Programmer
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: The Newest spellchecker.jsp For JAva Programmer
Re: The Newest spellchecker.jsp For JAva Programmer
I love FckEditor and I use it with PHP too. but i was sad why there is no SpellChecker.jsp on your project. So I learned your PHP code and convert to JSP Code. I thought so many java developer had same problem with me.
I have tested this code to my project and still running till now and my clients love it. and have tested using windows xp, windows 98, linux, and apple as server. my web server is tomcat and my jdk was jdk1.4 and now using Jdk 1.5
you can asked me to windu_gata@yahoo.com
regards,
windu
Re: The Newest spellchecker.jsp For JAva Programmer
Thank you for the JSP file !
I added it in fckez.jar in fckez\web\js\ext\FCKeditor\editor\dialog\fck_spellerpages\spellerpages\server-scripts
Then, in my FCKEditor config file, I added :
But when I click on spell check button in FCKEditor, it displays the spellchecker.jsp source file and doesn't run it.
Could you help me ?
Thank you.
Re: The Newest spellchecker.jsp For JAva Programmer
I am using the linux with tomcat server, I tried including the jsp code for spell check.
When I click the spell check link in FCK editor, the pop-up window open, but the data are not loading and moreover I didn't able to type anything in that page.
If I click on any button it shows me alert message stating that "Error:"Not in dictionary" text is missing".
Can you please help me out to fix the issue.
Thanks in advance,
Karthi
Re: The Newest spellchecker.jsp For JAva Programmer
ftp://ftp.gnu.org/gnu/aspell/dict/0index.html
https://support.kayako.com/index.php?_m ... icleid=125
http://osdir.com/ml/os.apple.fink.cvs/2 ... index.html
viewtopic.php?f=5&t=7219&p=23279#p19347
fckeditor\editor\dialog\fck_spellerpages\spellerpages\server-scripts
Re: The Newest spellchecker.jsp For JAva Programmer
Re: The Newest spellchecker.jsp For JAva Programmer
<%@page language="java"%> <%@page import="java.io.*"%> <%! public String getFileContent(String filePath) { try { RandomAccessFile raf = new RandomAccessFile(filePath, "r"); String line; StringBuffer fileContent = new StringBuffer(); while ( (line = raf.readLine()) != null ) { fileContent.append(line); } return fileContent.toString(); } catch (IOException e) { System.out.println(e.getMessage()); return null; } } %> <% //String osName = System.getProperty("os.name"); String s = null; //The following variables values must reflect your installation needs. //convert from php to jsp by windu gata 10 October 2007 budi luhur university //fixed 17 october 2007 //String aspell_prog = "C:\\Program Files\\Aspell\\bin\\aspell.exe"; //windows //String aspell_prog = "/usr/bin/aspell"; //linux //String aspell_prog = "/opt/local/bin/aspell"; //apple //String aspell_opts = "-a --lang=fr_FR --encoding=utf-8 -H --rem-sgml-check=alt"; String spellercss = "../spellerStyle.css"; String word_win_src = "../wordWindow.js"; //String input_separator = "A"; //java has no decode html so u acan add character String escape_char[] = {"%3Cb%3E", "%3C%2Fb%3E", "%20", " %3Cbr%3E", "%0A", "%2C", "%22", "%27", "%3C", "a href%3D\"mailto%A", "%3C%2Fa%3E", "%40", "%3A", "%3D", "_fcksavedurl=", "<%2Fa%3E", "%3E", "%26nbsp", "%3B", "<br"}; String replace_char[]= {" " , " " , " " , " " , " " , "," , " " , " " , "<" , " " , " " , "@" , ":" , "=" , " " , " " , " " , " " , " " , " " }; %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="<%=spellercss %>" /> <script language="javascript" src="<%=word_win_src %>"></script> <script language="javascript"> var suggs = new Array(); var words = new Array(); var textinputs = new Array(); var error; <% //get parameter String textinputs = request.getParameter("textinputs[]"); //out.write("textinputs[0] = decodeURIComponent(\"\");\n"); out.write("textinputs[0] = decodeURIComponent(\"" + textinputs + "\");\n"); System.out.println("Text inputs : "+textinputs); //delete escape character for (int i=0; i<escape_char.length;i++) { textinputs = textinputs.replace(escape_char[i],replace_char[i]); } //get temporary servlet directory ServletContext context=request.getSession().getServletContext(); File tmpdir=(File)context.getAttribute("javax.servlet.context.tempdir"); String tmpfile="\\aspell_data_"; try { //save temporary file PrintWriter printout = new PrintWriter (new BufferedWriter (new FileWriter (tmpdir.getPath() + tmpfile))); printout.print (textinputs); printout.flush (); printout.close (); } catch (IOException e) { out.write("Cannot Create File Temporary " + e.toString()) ; } try { // Windows Nt or XP, change "cmd " to "command" on windows 98 //String[] cmd = { //"cmd", //"-c", //aspell_prog + " " + aspell_opts + "<" + tmpdir.getPath() + tmpfile + " 2>&1" //}; String[] cmd = { "cmd.exe", "/C", "ECHO", "\"" + getFileContent(tmpdir.getPath()+tmpfile) + "\"", "|", "\"C:/Program Files/Aspell/bin/aspell.exe\"", "-a", "--lang=fr_FR", "--encoding=utf-8", "-H", "--rem-sgml-check=alt" }; Process p1 = Runtime.getRuntime().exec(cmd); System.out.println("BEGIN"); System.out.println("Command : "); for(String a : cmd) System.out.print(a+" "); System.out.println(); //BufferedReader br = new BufferedReader(new InputStreamReader(p1.getInputStream())); //String ligne; //System.out.println("Command result : "); //while (((ligne = br.readLine()) != null)) //{ // System.out.println("Line : "+line); //} //br.close(); //System.out.println("End of command result"); int exitValue = p1.waitFor(); System.out.println("END"); //System.out.println("jalan " + exitValue); if (exitValue == 0) { BufferedReader stdInput = new BufferedReader(new InputStreamReader(p1.getInputStream())); int index = 0; int text_input_idx = -1; int line=0; while ((s = stdInput.readLine()) != null) { if (!s.startsWith("@") && s.length() > 0) { if (s.startsWith("&") || s.startsWith("#")) { if (text_input_idx == -1) { text_input_idx++; out.write("words[" + text_input_idx + "] = [];\n"); out.write("suggs[" + text_input_idx + "] = [];\n"); } //System.out.println(" nilai " + s.replace("\'", "\\'")); String word[] = s.replace("\'", "").split(":"); String wordleft[] = word[0].split(" "); out.write ("words[" + text_input_idx + "][" + index + "] = '" + wordleft[1].replace("\'", "\\'") + "';\n"); if ( word.length > 1) { String suggs[] = word[1].split(", "); out.write("suggs[" + text_input_idx + "][" + index + "] = ["); for (int i=0; i< suggs.length ; i++) { out.write( "'" + suggs[i].trim().replace("\'","") + "'"); if (i < suggs.length-1 ) { out.write(","); } } out.write("];\n"); } index++; } line++; } } } } catch (Exception e) { System.out.println(e.toString()); } %> var wordWindowObj = new wordWindow(); wordWindowObj.originalSpellings = words; wordWindowObj.suggestions = suggs; wordWindowObj.textInputs = textinputs; function init_spell() { // check if any error occured during server-side processing if( error ) { alert( error ); } else { // call the init_spell() function in the parent frameset if (parent.frames.length) { parent.init_spell( wordWindowObj ); } else { alert('This page was loaded outside of a frameset. It might not display properly'); } } } </script> </head> <!-- <body onLoad="init_spell();"> by FredCK --> <body onLoad="init_spell();" bgcolor="#ffffff"> <script type="text/javascript"> wordWindowObj.writeBody(); </script> </body> </html>Re: The Newest spellchecker.jsp For JAva Programmer
Re: The Newest spellchecker.jsp For JAva Programmer
When I use the code from the second post with the proper commented sections I get the following error:
this.originalSpellings[...].length is null or not an object
and then two:
Object does not support this method or property errors
I can't figure out where/why that is happening, wondered if anyone else had encountered and fixed it. Or at least had an idea how to.
Re: The Newest spellchecker.jsp For JAva Programmer
http://plugins.jedit.org/plugins/?SpellCheck
http://dev.fckeditor.net/ticket/2090
Re: The Newest spellchecker.jsp For JAva Programmer
Re: The Newest spellchecker.jsp For JAva Programmer
I wonder how it works with UTF-8 symbols especially 3-byte's when they are part of misspeled word. I have had troubles with it. But I couldn't use this jsp as it is anyway because I use InDesign server for spellchecking instead of aspell. So I had to write it all differently but at least I suggest setting
response.setCharacterEncoding("UTF-8"); somewere before using out.write().
Re: The Newest spellchecker.jsp For JAva Programmer
Re: The Newest spellchecker.jsp For JAva Programmer
Re: The Newest spellchecker.jsp For JAva Programmer
Thanks,
Vish
Re: The Newest spellchecker.jsp For JAva Programmer
strange issue. please help.
satya
Re: The Newest spellchecker.jsp For JAva Programmer
Thanks
satya
Re: The Newest spellchecker.jsp For JAva Programmer
Re: The Newest spellchecker.jsp For JAva Programmer
Re: The Newest spellchecker.jsp For JAva Programmer
I've tried the file you posted with the obvious changes for Windows, but am still having no joy!
String aspell_prog = "C:\\Program Files\\Aspell\\bin\\aspell.exe"; //windows
//String aspell_prog = "/usr/local/bin/aspell"; //linux
//String aspell_prog = "/opt/local/bin/aspell"; //apple
.....
// Windows Nt or XP, change "cmd " t0 "command" on windows 98
String[] cmd = {
"cmd",
"-c",
aspell_prog + " " + aspell_opts + "<" + tmpdir.getPath() + tmpfile + " 2>&1"
};
//Test
//tmpfile="/aspell_data_-4239128009781966915";
//End Test
//String[] cmd = {
//"/bin/sh",
//"-c",
//aspell_prog + " " + aspell_opts + "<" + tmpdir.getPath() + tmpfile + " 2>&1"
//};
Thanks
Re: The Newest spellchecker.jsp For JAva Programmer
Re: The Newest spellchecker.jsp For JAva Programmer
<%@page language="java"%> <%@page import="java.io.*"%> <%@page import="java.util.Enumeration"%> <% String osName = System.getProperty("os.name"); String s = null; //The following variables values must reflect your installation needs. //convert from php to jsp by windu gata 10 October 2007 budi luhur university //fixed 17 october 2007 //String aspell_prog = "C:\\Program Files\\Aspell\\bin\\aspell.exe"; //windows String aspell_prog = "/usr/bin/aspell"; //linux //String aspell_prog = "/opt/local/bin/aspell"; //apple String aspell_opts = "-a --lang=en_US --encoding=utf-8 -H --rem-sgml-check=alt"; String spellercss = "../spellerStyle.css"; String word_win_src = "../wordWindow.js"; %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="<%=spellercss %>" /> <script language="javascript" src="<%=word_win_src %>"></script> <script language="javascript"> var suggs = new Array(); var words = new Array(); var textinputs = new Array(); var error; <% //get parameter String textinputs = request.getParameter("textinputs[]"); //out.write("textinputs[0] = decodeURIComponent(\"\");\n"); out.write("textinputs[0] = decodeURIComponent(\"" + textinputs + "\");\n"); textinputs = java.net.URLDecoder.decode(textinputs, "utf-8"); //get temporary servlet directory ServletContext context = request.getSession().getServletContext(); File tmpdir = (File) context.getAttribute("javax.servlet.context.tempdir"); String tmpfile = "/aspell_data_"; try { //save temporary file PrintWriter printout = new PrintWriter(new BufferedWriter(new FileWriter(tmpdir.getPath() + tmpfile))); printout.print(textinputs); printout.flush(); printout.close(); } catch (IOException e) { out.write("Cannot Create File Temporary " + e.toString()); } try { // Windows Nt or XP, change "cmd " t0 "command" on windows 98 // String[] cmd = { // "cmd", // "-c", // aspell_prog + " " + aspell_opts + "<" + tmpdir.getPath() + tmpfile + " 2>&1" // }; String[] cmd = { "/bin/sh", "-c", aspell_prog + " " + aspell_opts + "<" + tmpdir.getPath() + tmpfile + " 2>&1" }; Process p1 = Runtime.getRuntime().exec(cmd); int exitValue = p1.waitFor(); //System.out.println("jalan " + exitValue); if (exitValue == 0) { BufferedReader stdInput = new BufferedReader(new InputStreamReader(p1.getInputStream())); int index = 0; int text_input_idx = -1; int line = 0; while ((s = stdInput.readLine()) != null) { if (!s.startsWith("@") && s.length() > 0) { if (s.startsWith("&") || s.startsWith("#")) { if (text_input_idx == -1) { text_input_idx++; out.write("words[" + text_input_idx + "] = [];\n"); out.write("suggs[" + text_input_idx + "] = [];\n"); } //System.out.println(" nilai " + s.replace("\'", "\\'")); String word[] = s.replace("\'", "").split(":"); String wordleft[] = word[0].split(" "); out.write("words[" + text_input_idx + "][" + index + "] = '" + wordleft[1].replace("\'", "\\'") + "';\n"); if (word.length > 1) { String suggs[] = word[1].split(", "); out.write("suggs[" + text_input_idx + "][" + index + "] = ["); for (int i = 0; i < suggs.length; i++) { out.write("'" + suggs[i].trim().replace("\'", "") + "'"); if (i < suggs.length - 1) { out.write(","); } } out.write("];\n"); } index++; } line++; } } } } catch (Exception e) { System.out.println(e.toString()); } %> var wordWindowObj = new wordWindow(); wordWindowObj.originalSpellings = words; wordWindowObj.suggestions = suggs; wordWindowObj.textInputs = textinputs; function init_spell() { // check if any error occured during server-side processing if( error ) { alert( error ); } else { // call the init_spell() function in the parent frameset if (parent.frames.length) { parent.init_spell( wordWindowObj ); } else { alert('This page was loaded outside of a frameset. It might not display properly'); } } } </script> </head> <!-- <body onLoad="init_spell();"> by FredCK --> <body onLoad="init_spell();" bgcolor="#ffffff"> <script type="text/javascript"> wordWindowObj.writeBody(); </script> </body> </html>Re: The Newest spellchecker.jsp For JAva Programmer
<%@page language="java"%> <%@page import="java.io.*"%> <%@page import="java.util.Enumeration"%> <% String osName = System.getProperty("os.name").toLowerCase(); // nix os String s = null; //The following variables values must reflect your installation needs. //convert from php to jsp by windu gata 10 October 2007 budi luhur university //fixed 17 october 2007 String spellercss = "../spellerStyle.css"; String word_win_src = "../wordWindow.js"; String input_separator = "A"; //java has no decode html so u acan add character String escape_char[] = {"%3Cb%3E", "%3C%2Fb%3E", "%20", " %3Cbr%3E", "%0A", "%2C", "%22", "%27", "%3C", "a href%3D\"mailto%A", "%3C%2Fa%3E", "%40", "%3A", "%3D", "_fcksavedurl=", "<%2Fa%3E", "%3E", "%26nbsp", "%3B", "<br"}; String replace_char[]= {" " , " " , " " , " " , " " , "," , " " , " " , "<" , " " , " " , "@" , ":" , "=" , " " , " " , " " , " " , " " , " " }; %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="<%=spellercss %>" /> <script language="javascript" src="<%=word_win_src %>"></script> <script language="javascript"> var suggs = new Array(); var words = new Array(); var textinputs = new Array(); var error; <% //get parameter String textinputs = request.getParameter("textinputs[]"); //out.write("textinputs[0] = decodeURIComponent(\"\");\n"); //out.write("textinputs[0] = decodeURIComponent(\"" + textinputs + "\");\n"); String[] txtInputs = request.getParameterValues("textinputs[]"); for(int idx=0; idx<txtInputs.length; idx++) { out.write("textinputs[" + idx + "] = decodeURIComponent(\"" + txtInputs[idx] + "\");\n"); } // System.out.println(textinputs); //delete escape character for (int i=0; i<escape_char.length;i++) { textinputs = textinputs.replace(escape_char[i],replace_char[i]); } //get temporary servlet directory ServletContext context=request.getSession().getServletContext(); File tmpdir=(File)context.getAttribute("javax.servlet.context.tempdir"); String tmpfile="/aspell_data_"; try { //save temporary file PrintWriter printout = new PrintWriter (new BufferedWriter (new FileWriter (tmpdir.getPath() + tmpfile))); printout.print (textinputs); printout.flush (); printout.close (); } catch (IOException e) { out.write("Cannot Create File Temporary " + e.toString()) ; } // os specifics here if(osName.indexOf("indow") <= 0) { String aspell_prog = "/usr/bin/aspell"; //linux String aspell_opts = "-a --lang=en_US --encoding=utf-8 -H --rem-sgml-check=alt"; try { String[] cmd = { "/bin/sh", "-c", aspell_prog + " " + aspell_opts + "<" + tmpdir.getPath() + tmpfile + " 2>&1" }; Process p1 = Runtime.getRuntime().exec(cmd); int exitValue = p1.waitFor(); //System.out.println("jalan " + exitValue); if (exitValue == 0) { BufferedReader stdInput = new BufferedReader(new InputStreamReader(p1.getInputStream())); int index = 0; int text_input_idx = -1; int line=0; while ((s = stdInput.readLine()) != null) { if (!s.startsWith("@") && s.length() > 0) { if (s.startsWith("&") || s.startsWith("#")) { if (text_input_idx == -1) { text_input_idx++; out.write("words[" + text_input_idx + "] = [];\n"); out.write("suggs[" + text_input_idx + "] = [];\n"); } //System.out.println(" nilai " + s.replace("\'", "\\'")); String word[] = s.replace("\'", "").split(":"); String wordleft[] = word[0].split(" "); out.write ("words[" + text_input_idx + "][" + index + "] = '" + wordleft[1].replace("\'", "\\'") + "';\n"); if ( word.length > 1) { String suggs[] = word[1].split(", "); out.write("suggs[" + text_input_idx + "][" + index + "] = ["); for (int i=0; i< suggs.length ; i++) { out.write( "'" + suggs[i].trim().replace("\'","") + "'"); if (i < suggs.length-1 ) { out.write(","); } } out.write("];\n"); } index++; } line++; } } } } catch (Exception e) { System.out.println(e.toString()); } } else { // code for windows xp/2k replace cmd with command for 95/98 os String aspell_prog = "C:\\Aspell\\bin\\aspell.exe"; //windows String aspell_opts = "-a --lang=en_US --encoding=utf-8 -H --rem-sgml-check=alt"; try { String[] cmd = { "cmd.exe", "/C", aspell_prog + " " + aspell_opts + "<" + tmpdir.getPath() + tmpfile + " 2>&1" }; Runtime rt = Runtime.getRuntime(); System.out.println("Executing " + cmd[0] + " " + cmd[1] + " " + cmd[2]); Process proc = rt.exec(cmd); // any error message? StreamGobbler errorGobbler = new StreamGobbler(proc.getErrorStream(), "ERROR", out); // any output? StreamGobbler outputGobbler = new StreamGobbler(proc.getInputStream(), "OUTPUT", out); // kick them off errorGobbler.start(); outputGobbler.start(); // any error??? int exitVal = proc.waitFor(); System.out.println("ExitValue: " + exitVal); } catch (Exception e) { System.out.println(e.toString()); } } %> var wordWindowObj = new wordWindow(); wordWindowObj.originalSpellings = words; wordWindowObj.suggestions = suggs; wordWindowObj.textInputs = textinputs; function init_spell() { // check if any error occured during server-side processing if( error ) { alert( error ); } else { // call the init_spell() function in the parent frameset if (parent.frames.length) { parent.init_spell( wordWindowObj ); } else { alert('This page was loaded outside of a frameset. It might not display properly'); } } } </script> </head> <!-- <body onLoad="init_spell();"> by FredCK --> <body onLoad="init_spell();" bgcolor="#ffffff"> <script type="text/javascript"> wordWindowObj.writeBody(); </script> </body> </html> <%! class StreamGobbler extends Thread { InputStream is; String type; JspWriter out; StreamGobbler(InputStream is, String type, JspWriter out) { this.is = is; this.type = type; this.out = out; } public void run() { try { InputStreamReader isr = new InputStreamReader(is); BufferedReader br = new BufferedReader(isr); String s=null; int line=0; if("ERROR".equals(type)) { while ( (s = br.readLine()) != null) System.out.println(type + ">" + s); } else { int index = 0; int text_input_idx = -1; while ( (s = br.readLine()) != null) { if (!s.startsWith("@") && s.length() > 0) { if (s.startsWith("&") || s.startsWith("#")) { if (text_input_idx == -1) { text_input_idx++; out.write("words[" + text_input_idx + "] = [];\n"); out.write("suggs[" + text_input_idx + "] = [];\n"); } //System.out.println(" nilai " + s.replace("\'", "\\'")); String word[] = s.replace("\'", "").split(":"); String wordleft[] = word[0].split(" "); out.write ("words[" + text_input_idx + "][" + index + "] = '" + wordleft[1].replace("\'", "\\'") + "';\n"); if ( word.length > 1) { String suggs[] = word[1].split(", "); out.write("suggs[" + text_input_idx + "][" + index + "] = ["); for (int i=0; i< suggs.length ; i++) { out.write( "'" + suggs[i].trim().replace("\'","") + "'"); if (i < suggs.length-1 ) { out.write(","); } } out.write("];\n"); } index++; } line++; } } } } catch (IOException ioe) { ioe.printStackTrace(); } } } %>function totalWords( textIndex ) { if(this.originalSpellings[textIndex]) return this.originalSpellings[textIndex].length; else return 0; }Re: The Newest spellchecker.jsp For JAva Programmer
fishing gears
Re: The Newest spellchecker.jsp For JAva Programmer
http://windu1976.multiply.com/
Attachments: