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 how do I set a java bean's property which is neither a String nor primitive in JSP? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how do I set a java bean Watch "how do I set a java bean New topic
Author

how do I set a java bean's property which is neither a String nor primitive in JSP?

Ren Shao
Ranch Hand

Joined: Dec 23, 2002
Posts: 51
For example, in my JSP, I use
<jsp:useBean id="myBean" class="zhirenshao.MyBean" scope="request" />
one of the property of MyBean is a type I write my self. How do I set this property? (using <jsp:setProperty> )
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how do I set a java bean's property which is neither a String nor primitive in JSP?