<jsp:useBean id="obj" class="com.ram.Calculator"/>
<jsp:useBean id="emp" class="com.ram.Employee"/>
<jsp:setProperty  property="id" name="emp" value="102" />
<jsp:setProperty  property="name" name="emp" value="Raj" />

<%
int m=obj.cube(5);
out.print("cube of 5 is "+m);
%>
<hr>
Employee Id : <jsp:getProperty property="id" name="emp"/><br>  
Employee name : <jsp:getProperty property="name" name="emp"/><br>  

