I'm trying to take the output of the getProperty call and assign it to a variable within my page, as shown below. (I want to programatically check it's value.) This construction fails. How do I correctly do this?
Many, many thanks
== snip ==
<jsp:useBean
id="validUser"
scope="session"
class="com.ora.jsp.beans.emp.EmployeeBean"/>
<% String who = "<jsp:getProperty name="validUser" property="userName"/>" %>
</jsp:useBean>
== snip ==