Hi,
Similar to a recent posting, after some research into the subject,
regarding importing a package into my JSP, I understand thus:
If I have Abean.java and of course Abean.class belonging to package mybean
(source below), in webapps/mydir/WEB-INF/mybean/mybean.class, and my JSP
in webapps/mydir/index.jsp that includes the bean:
<%@ page language="java" %>
<%@ page import="mybean.*" %>
<html>
<head><title></title></head>
<body>TEST</body>
</html>
I get the error package mybean does not exist
import mybean.*;
The bean source (only for the technically minded now):
package mybean;
public class Abean {
public int aMethod() {
int i = 10;
return i;
}
}
What am I doing wrong here please? Please someone help!
thanks
Paul.