J Mascis

Greenhorn
+ Follow
since Oct 13, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by J Mascis

Howdy -
I have some code such as:
<% for(int n=1;n <= 7;n++){ %>
<tr>
<td colspan="6">
<html:text property="person<%= n %>_name_first" size="22" value="" maxlength="64"/>
</td></tr>
<% } %>
Unfortunately, Struts ignores the scriptlet portion in the tag <%= n %>
Instead of the variable incrementing as I thought it would, the html output is <%= n %> and not the number I want to concatenate into the html output.
Anyone know of how I can get around this?? It works fine in standard ht markup but Struts converts the property into a straight up string. Ack, Please, help.....super powers.....failing........arch enemy.......winning
20 years ago