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.TagHandler
javax.servlet.jsp.JspException
public void putAttribute(String name, Object value)
putAttribute
in interface InsertTag.TagHandler
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface InsertTag.TagHandler
javax.servlet.jsp.JspException
protected 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.JspException
Copyright © 2000–2017 Apache Software Foundation. All rights reserved.