Results 1 to 5 of 5
- 06-15-2010, 11:34 AM #1
Member
- Join Date
- Jun 2010
- Posts
- 2
- Rep Power
- 0
- 06-15-2010, 01:21 PM #2
I'm not familiar with that. It sounds like a class is defined in more than one package.
Can you post the full text of the error message.
- 06-15-2010, 01:52 PM #3
Member
- Join Date
- Jun 2010
- Posts
- 2
- Rep Power
- 0
whatever I posted i.e.
The field IteratorTag.EVAL_BODY_AGAIN is ambiguous. is the full error description only.
I am psating code also here.
public int doAfterBody() throws JspException {
try {
BodyContent body = getBodyContent();
JspWriter out = body.getEnclosingWriter();
out.print(body.getString());
// System.out.println("IteratorTag.doAfterBody" + body.getString());
body.clearBody();
if (iter.hasNext()) {
++iterCount;
// System.out.println("IteratorTag.doAfterBody: hasNext()");
// Set attribute in the page context.
Object element = iter.next();
pageContext.setAttribute(id, element, PageContext.PAGE_SCOPE);
if (iterCountName != null)
pageContext.setAttribute(iterCountName, new Integer(iterCount));
return IteratorTag.EVAL_BODY_AGAIN;
} else {
// System.out.println("IteratorTag.doAfterBody: skipping rest of body");
release();
return SKIP_BODY;
}
} catch (IOException ex) {
ex.printStackTrace();
throw new JspException(ex.getMessage());
}
}
- 06-15-2010, 01:54 PM #4
Where/how are you executing the program?Can you post the full text of the error message.
- 06-15-2010, 02:12 PM #5
Moderator
- Join Date
- Apr 2009
- Posts
- 10,484
- Rep Power
- 16
Similar Threads
-
Get Field value from form
By johnven in forum Java ServletReplies: 0Last Post: 03-10-2010, 07:34 AM -
how from an Access Currency field I populate a hidden field
By lse123 in forum Java ServletReplies: 4Last Post: 01-17-2010, 11:13 PM -
Field type
By code_worm in forum New To JavaReplies: 15Last Post: 10-21-2009, 03:03 PM -
Regarding Text Field
By adeeb in forum AWT / SwingReplies: 1Last Post: 06-05-2008, 11:01 PM -
Final field question
By derrickD in forum Advanced JavaReplies: 1Last Post: 04-28-2007, 10:37 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks