Tabnine Logo
TagSupport.doAfterBody
Code IndexAdd Tabnine to your IDE (free)

How to use
doAfterBody
method
in
javax.servlet.jsp.tagext.TagSupport

Best Java code snippets using javax.servlet.jsp.tagext.TagSupport.doAfterBody (Showing top 4 results out of 315)

origin: com.mockrunner/mockrunner-jdk1.4-j2ee1.3

/**
 * Calls the <code>doAfterBody</code> method of the current tag.
 * @return the result of <code>doAfterBody</code>
 * @throws <code>RuntimeException</code>, if the tag
 *         is a simple tag
 */
public int doAfterBody()
{
  if(null == tag)
  {
    throw new RuntimeException("No current tag set");
  }
  /*if(isSimpleTag()) 
  {
    throw new RuntimeException("Cannot call doAfterBody() on simple tags");
  }*/
  try
  {
    return ((TagSupport)tag).doAfterBody();
  }
  catch(JspException exc)
  {
    throw new NestedApplicationException(exc);
  }
}
origin: com.mockrunner/mockrunner-jdk1.3-j2ee1.3

/**
 * Calls the <code>doAfterBody</code> method of the current tag.
 * @return the result of <code>doAfterBody</code>
 * @throws <code>RuntimeException</code>, if the tag
 *         is a simple tag
 */
public int doAfterBody()
{
  if(null == tag)
  {
    throw new RuntimeException("No current tag set");
  }
  /*if(isSimpleTag()) 
  {
    throw new RuntimeException("Cannot call doAfterBody() on simple tags");
  }*/
  try
  {
    return ((TagSupport)tag).doAfterBody();
  }
  catch(JspException exc)
  {
    throw new NestedApplicationException(exc);
  }
}
origin: ontopia/ontopia

private void loopTag(TagSupport tag, JSPTreeNodeIF curNode)
 throws JspException, IOException {
 // loop as long as tag says so
 int token;
 do {
  runTag(tag, curNode);
  token = tag.doAfterBody();
 } while (token == BodyTagSupport.EVAL_BODY_AGAIN);
 if (token != BodyTagSupport.SKIP_BODY)
  throw new OntopiaRuntimeException("Internal error: unknown doAfterBody token: " + token);
}
origin: com.mockrunner/mockrunner-tag

/**
 * Calls the <code>doAfterBody</code> method of the current tag.
 * @return the result of <code>doAfterBody</code>
 * @throws <code>RuntimeException</code>, if the tag
 *         is a simple tag
 */
public int doAfterBody()
{
  if(null == tag)
  {
    throw new RuntimeException("No current tag set");
  }
  if(isSimpleTag()) 
  {
    throw new RuntimeException("Cannot call doAfterBody() on simple tags");
  }
  try
  {
    return ((TagSupport)tag).doAfterBody();
  }
  catch(JspException exc)
  {
    throw new NestedApplicationException(exc);
  }
}
javax.servlet.jsp.tagextTagSupportdoAfterBody

Javadoc

Default processing for a body.

Popular methods of TagSupport

  • release
    Release state.
  • doEndTag
    Default processing of the end tag returning EVAL_PAGE.
  • doStartTag
    Default processing of the start tag, returning SKIP_BODY.
  • findAncestorWithClass
    Find the instance of a given class type that is closest to a given instance. This method uses the ge
  • setPageContext
    Set the page context.
  • getValue
    Get a the value associated with a key.
  • setId
    Set the id attribute for this tag.
  • setValue
    Associate a value with a String key.
  • getId
    The value of the id attribute of this tag; or null.
  • getValues
    Enumerate the keys for the values kept by this tag handler.
  • removeValue
    Remove a value associated with a key.
  • setParent
    Set the nesting tag of this tag.
  • removeValue,
  • setParent,
  • <init>

Popular in Java

  • Updating database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • putExtra (Intent)
  • onRequestPermissionsResult (Fragment)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now