protected class InsertTag.InsertHandler extends Object implements InsertTag.TagHandler
| Modifier and Type | Field and Description |
|---|---|
protected Controller |
controller |
protected ComponentContext |
currentContext |
protected String |
page |
protected String |
role |
protected ComponentContext |
subCompContext |
| Constructor and Description |
|---|
InsertHandler(Map attributes,
String page,
String role,
Controller controller)
Constructor.
|
InsertHandler(String page,
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(Throwable ex,
String msg)
Deprecated.
This method will be removed in a release after Struts 1.2.
|
void |
putAttribute(String name,
Object value)
Add attribute to sub context.
|
protected String page
protected ComponentContext currentContext
protected ComponentContext subCompContext
protected String role
protected Controller controller
public InsertHandler(Map attributes, String page, String role, Controller controller)
public InsertHandler(String page, String role, Controller controller)
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface InsertTag.TagHandlerjavax.servlet.jsp.JspExceptionpublic void putAttribute(String name, Object value)
putAttribute in interface InsertTag.TagHandlerpublic int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface InsertTag.TagHandlerjavax.servlet.jsp.JspExceptionprotected void processException(Throwable ex, 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-2017 Apache Software Foundation. All Rights Reserved.