PDA

View Full Version : Demo JSP mostly comments


jdmckinnon
20th June 2008, 01:59 PM
While trying to get the trial working, I note that the content of JSpell.jsp is almost all commented out. As such, trying to use the test page simply returns:

ERROR

The spell checker is unavailable. If you continue to receive this message, please contact your server administrator.

JSpell Has Not Been Properly Configured

With all the code commented out, this appears to be all it can return. The jsp file is about 46K and of that, all but 6K seems to be comments. While I edited the jspell.js as needed with no problem, there are no instructions on what to edit in the JSP. Did I get a bad demo?

staff
21st June 2008, 04:53 PM
If the only thing we were selling was commented out code, we'd have a pretty easy job of supporting the product :-)

What you're seeing is just a reflection of the error message you're getting "JSpell Has Not Been Properly Configured".

Make sure that the web.xml file is properly configured and pointing to the directory containing your JSpell .jdx files. If you're still having a problem or are unsure of what could be wrong then please attach a copy of the relevant portion of your server log.

Thanks.

jdmckinnon
23rd June 2008, 01:47 PM
Yep... after reading up on JSPs a bit, I see that all the "<%" things aren't really comments. My editor has syntax highlighting and thus was misleading.

It looks like the problem is the web.xml reference for the *jdx path. I didn't realize that I needed to unpack the WAR, edit the web.xml., then repack the WAR before deploying it.