<%@ page import = "/WEB-INF/classes/message.class"%>
Import statements in JSPs look just like those in regular Java classes, so you
can't do this. Try this instead:
<%@ page import="message" %>
The WEB-INF/classes directory is automatically loaded for you, you just have to
import the classes you want from it. Also, if you want a jar you can put it in
the WEB-INF/lib directory.
And, I think it would also be a really good idea to put message inside a
package.