File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes useBean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "useBean" Watch "useBean" New topic
Author

useBean

ramesh kumar
Greenhorn

Joined: Aug 15, 2006
Posts: 25
Hai All,

I used <jsp:useBean id="lf" class="com.login.LoginForm"/> in my code but i am getting error as value under class attribute is not valid.
I compiled LoginForm class and kept in classes folder then why i am getting this error.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

See this entry in our JSP faq:
http://faq.javaranch.com/view?BeansNotFound

If it doesn't clear it up for you, post back with the exact location and source code of your bean.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
reddy yeruva
Greenhorn

Joined: Oct 18, 2006
Posts: 18
i think you are not palaced the exact location which you have mentioned in the value of class, check it ...


Y.Tirupati Reddy<br />reddy.yeruva@gmail.com
Jobin Mathew
Ranch Hand

Joined: Oct 17, 2006
Posts: 83
Put the class according to the package structure.

ie your LoginForm.class is in the folder login which is inside the foldr com.
Also com should be kept in classes
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: useBean