railo.runtime.tag
Class Servlet

java.lang.Object
  extended by railo.runtime.ext.tag.TagImpl
      extended by railo.runtime.tag.Servlet
All Implemented Interfaces:
javax.servlet.jsp.tagext.Tag

public final class Servlet
extends TagImpl

Executes a Java servlet on a JRun engine. This tag is used in conjunction with the cfserletparam tag, which passes data to the servlet.


Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
Servlet()
          constructor for the tag class
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 void release()
           
 void setCode(String code)
          set the value code The class name of the Java servlet to execute.
 void setDebug(boolean debug)
          set the value debug Boolean specifying whether additional information about the JRun connection status and activity is to be written to the JRun error log
 void setJrunproxy(String jrunproxy)
          set the value jrunproxy
 void setTimeout(double timeout)
          set the value timeout Specifies how many seconds JRun waits for the servlet to complete before timing out.
 void setWriteoutput(boolean writeoutput)
          set the value writeoutput
 
Methods inherited from class railo.runtime.ext.tag.TagImpl
getParent, required, required, required, required, setPageContext, setPageContext, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Servlet

public Servlet()
        throws ExpressionException
constructor for the tag class

Throws:
ExpressionException
Method Detail

setDebug

public void setDebug(boolean debug)
set the value debug Boolean specifying whether additional information about the JRun connection status and activity is to be written to the JRun error log

Parameters:
debug - value to set

setCode

public void setCode(String code)
set the value code The class name of the Java servlet to execute.

Parameters:
code - value to set

setWriteoutput

public void setWriteoutput(boolean writeoutput)
set the value writeoutput

Parameters:
writeoutput - value to set

setTimeout

public void setTimeout(double timeout)
set the value timeout Specifies how many seconds JRun waits for the servlet to complete before timing out.

Parameters:
timeout - value to set

setJrunproxy

public void setJrunproxy(String jrunproxy)
set the value jrunproxy

Parameters:
jrunproxy - value to set

doStartTag

public int doStartTag()
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class TagImpl
See Also:
Tag.doStartTag()

doEndTag

public int doEndTag()
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class TagImpl
See Also:
Tag.doEndTag()

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class TagImpl
See Also:
Tag.release()


Copyright © 2012 Railo