protected class InsertTag.InsertHandler extends java.lang.Object implements InsertTag.TagHandler
| Modifier and Type | Field and Description |
|---|---|
protected Controller |
controller |
protected ComponentContext |
currentContext |
protected java.lang.String |
page |
protected java.lang.String |
role |
protected ComponentContext |
subCompContext |
| Constructor and Description |
|---|
InsertHandler(java.util.Map attributes,
java.lang.String page,
java.lang.String role,
Controller controller)
Constructor.
|
InsertHandler(java.lang.String page,
java.lang.String role,
Controller controller)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag()
Include requested page.
|
int |
doStartTag()
Create a new empty context.
|
protected void |
processException(java.lang.Throwable ex,
java.lang.String msg)
Deprecated.
This method will be removed in a release after Struts 1.2.
|
void |
putAttribute(java.lang.String name,
java.lang.Object value)
Add attribute to sub context.
|
protected java.lang.String page
protected ComponentContext currentContext
protected ComponentContext subCompContext
protected java.lang.String role
protected Controller controller
public InsertHandler(java.util.Map attributes,
java.lang.String page,
java.lang.String role,
Controller controller)
public InsertHandler(java.lang.String page,
java.lang.String role,
Controller controller)
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface InsertTag.TagHandlerjavax.servlet.jsp.JspExceptionpublic void putAttribute(java.lang.String name,
java.lang.Object value)
putAttribute in interface InsertTag.TagHandlerpublic int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface InsertTag.TagHandlerjavax.servlet.jsp.JspExceptionprotected void processException(java.lang.Throwable ex,
java.lang.String msg)
throws javax.servlet.jsp.JspException
ex - Exceptionmsg - An additional message to show in console and to propagate if we can't output exception.javax.servlet.jsp.JspExceptionCopyright © 2000–2025 Apache Software Foundation. All rights reserved.