what you mean the .java file?if you use as bean, should compile to .class at first.
I also put the .class in the same directory,
but still displays error like below
org.apache.jasper.JasperException: /ValidateUser1.jsp(1,1) The value for the useBean class attribute com.instantjsp.LoginManager is invalid.
org.apache.jasper.JasperException: /ValidateUser1.jsp(1,1) The value for the useBean class attribute com.instantjsp.LoginManager is invalid.