*
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 Murach's Java Servlets and JSP this week in the Servlets 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?
 
Similar Threads
About html:link
Urgent: How to use Indexed Properties
Using bean declared in JSP from Servlet
Accessing javabean in JSP which is instantiated in Action class
how to set the <bean:message key="abc.xyz" /> into jsp:setProperty parameter