Whatever message this page gives is out now! Go check it out!

cfservlet

Last update:
May 18, 2026

Description

Warning: This tag is obsolete, and has been removed from the language. The documentation is preserved here for informational purposes.
Executes a Java servlet on a JRun engine. To access servlets that run on the same server as ColdFusion, use code such as the following, in which path specifies a servlet, JSP, or anything else:
GetPageContext().include(path) 
GetPageContext().forward(path)
For more information, see the JSP PageContext API or the Servlet RequestDispatcher API.

History

ColdFusion MX: deprecated this tag. It might not work, and it might cause an error, in later releases.
ColdFusion 11: removed from the language.

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page