Forum Moderators: mack

Message Too Old, No Replies

Changing the labels dynamically based on criteria

         

venky_nk

3:12 pm on Aug 9, 2005 (gmt 0)

10+ Year Member



We are developing a web application, and would like to change the JSP label based on a specific creteria. For example, if the status is X, then we want to show certain labels, and if the status is Y, we would like to add (*) in front of the current labels. Any idea on how to go about this?

txbakers

10:20 pm on Aug 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<% if (status == "X") { %>X-labels<% } else { %>other labels <% } %>