This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line! See this thread for details.
how do I set a java bean's property which is neither a String nor primitive in JSP?
posted 13 years ago
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> )