I have the following code in a
jsp page:
<%=faq.getQuestion()%>
The expression prints out okay.
<jsp:getProperty name="faq" property="question"/>
But the getProperty which is suppose to be the equivalent, does nothing!
Any ideas why this should be?
See below for most of the code
<%@ page import="com.taglib.wdjsp.faqtool.*"
errorPage="error.jsp" %>
<jsp:useBean id="faq" class="com.taglib.wdjsp.faqtool.FaqBean" scope="request"/>
<%
FaqBean[] faqs = (FaqBean[])request.getAttribute("faqs");
%>
...
<tr><th colspan="2">FAQ Administration: Update Menu</th></tr>
<%
for (int i=0; i < faqs.length; i++) {
faq = faqs[i];
%>
<tr>
<td><input type="radio" name="id"
value='<%=faq.getID() %>'>
<%=faq.getID() %></td>
<td><%=faq.getQuestion()%> <jsp:getProperty name="faq" property="question"/>
</td>
</tr>
<% } %>
...
</form>
</html>