Guest User

Untitled

a guest
Jun 24th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. <bean:write name="label">
  2.  
  3. ParentTag parent =
  4. (ParentTag)findAncestorWithClass(this, ParentTag.class);
  5. if (parent == null) {
  6. throw new JspTagException("this tag is outside of its parent tag");
  7. }
  8.  
  9. <%
  10. jspContext.setAttribute("_myWellKnownName", new java.util.LinkedHashMap(), PageContext.REQUEST_SCOPE);
  11. %>
  12.  
  13. <%
  14. java.util.LinkedHashMap map = (java.util.LinkedHashMap) jspContext.findAttribute("_myWellKnownName");
  15. %>
Add Comment
Please, Sign In to add comment