This is a very basic question, but : Why can't I access a java class (not bean) I made from a JSP?
I'm running Catalina 4.1.18 standalone and j2sdk1.4.1_01. The class is in a package, under my webapps' WEB-INF/classes directory. I'm importing the package in the jsp. The class is definitely being found, since I can get it to complain about attempted static access to a dynamic method by introducing a deliberate error. Here's the first few lines of the "root cause" error message (I'm trying to return a String from static method HelloStatic; other variations return a similar message) : javax.servlet.ServletException: WP.SS.HelloStatic()Ljava/lang/String; at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:533) at org.apache.jsp.WP_jsp._jspService(WP_jsp.java:293) Can someone put me out of my misery? Thanks, Martin =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com