Hello,
I am a new to the forum, and i apologize for asking a basic question on eclipse.
I just download Eclipse Java EE IDE for Web Developers, and i tried to create a dynamic web project from it.
Everything seems to be working fine, except i don't see the class directory under my WEB-INF. All i see under my WEB-INF are the lib directory , and the web.xml.
Please correct me if i am wrong because I believe that i should have the class directory under my WEB-INF. I think i have missed something important.
You are looking at the source folder - the classes directory and the class files will not appear there. Instead, Eclipse compiles the classes to build/classes. When Eclipse deploys the project, it builds the deployment package at the destination directory (exact location depends on the server you are deploying to).
Yes, i looked at the source folder and i saw the default output folder is build/classes.
Since i am new to Eclipse, i write a small java application consists of one java class resides in the src folder , and one jsp uses the java class as a bean.
When i ran the program, it gave me this error :
"org.apache.jasper.JasperException:checkuserlogin.jsp(9,0) The value for the useBean class attribute CheckUser is invalid."
I did further research, and i suspected that i received the error because of my checkUser.class was not presented in the webcontent/WEB-INF/classes.
Please correct me if i am on the wrong track, since i try figure it out all how to to fix this error.