JSP - Actions and Directives


/ Published in: Java
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <jsp:useBean id="newBean" class="com.javadesktop.TableBean"> // UseBean and get and set properties
  2. <jsp:setProperty name="newBean" property="border" value="0">
  3. <jsp:setProperty id="TableBean" property="label" value=<%= TableName + "Label" %>
  4.  
  5. <jsp:getProperty name="TableBean" property="borderWidth" /> // This is only for printing
  6. </jsp:useBean>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.