I'd like to be able to use a java variable as one of the attributes of my HTML tag. For example, I'd like to be able to do this:
<% String questionId = "question" %>
Question: <textarea rows="5" cols="20" name=questionId><%=question %></textarea>
Where the name attribute would equal "question". The above doesnt work; is there any possible way to do this?