Codota Logo
TagSupport.doAfterBody
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
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

  • Running tasks concurrently on multiple threads
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • getExternalFilesDir (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JButton (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now