Hi, I have written a statement :<%@ page import="MyBean.java" %> in my JSP. MyBean.java is my Bean class located in folder WebApps/EnterUserDataApp folder. How to import this this java file so that i can use the getters and setters of this bean class within my JSP ? I am doing a simple Servlet JSP application without using struts or tag libraries. Please Help
Originally posted by Ulf Dittmer: Note that the import attribute takes neither a source file name nor a class file name, but a class name. That would be MyBean in your case, plus the appropriate package name in front of it.
Yep. I missed that.
You get good luck from rubbing the belly of a tiny ad:
a bit of art, as a gift, that will fit in a stocking