Ok, I'm implementing a ForEach tag which just looping throw a list of
content. The problem I have right now is that for what ever I do, I cannot
get the doAfterBody executed. It could not be executed even when I hardcoded
the doStartTag to return EVAL_BODY_TAG. What's give?
I'm using the Orion Server version 0.9.4 and jdk 1.2.2. Here is the
doStartTag's code:
public int doStartTag() throws JspException
{
result = (linkGroups) pageContext.getAttribute(inResult);
if (result == null) {
throw new JspException("Could not get the " + inResult);
}
try {
if (result.nextGroup()) {
pageContext.setAttribute(name, result);
return EVAL_BODY_TAG;
}
} catch (SQLException e) {
throw new JspException(e.getMessage());
}
return SKIP_BODY;
}
Any suggestion is very appreciated.
Tung
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets