NestedFormTag.java 文件源码

java
阅读 31 收藏 0 点赞 0 评论 0

项目:lams 作者:
/**
 * Overriding to allow the chance to set the details of the system, so that
 * dynamic includes can be possible
 * @return int JSP continuation directive.
 */
public int doStartTag() throws JspException {
  // store original result
  int temp = super.doStartTag();

  HttpServletRequest request = (HttpServletRequest)pageContext.getRequest();
  // original nesting details
  originalNesting = NestedPropertyHelper.getCurrentProperty(request);
  originalNestingName = NestedPropertyHelper.getCurrentName(request, this);

  // some new details
  NestedPropertyHelper.setProperty(request, null);
  NestedPropertyHelper.setName(request, super.getBeanName());

  // continue
  return temp;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号