<CFSERVLET> Tag - ColdFusion


>> Return to ColdFusion Tag Index

The <CFSERVLET> tag allows you ...



  <CFSERVLET> Comments from Macromedia LiveDocsLiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags92.htm
My forms are no longer working in Cold Fusion Mx

The validation does not work. I could not find any help here.

What gives with this? My cfif statements do not work on the forms either for validation.

LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags92.htm
Undocumented behavior:
All CGI.QUERY_STRING parameters (that is, anything after the ? on the requesting url, but not cfparam'ed "CGI.xx" variables) will also be passed to the servlet as parameters, even if they are not specified as cfservletparam's.

It is not clear/defined which value the servlet will get if cfservletparam passes a different value to a parameter that is also a CGI variable.

LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags92.htm
Despite the message above, it IS possible to run a servlet in a server other than the DEFAULT application. You need merely indicate the path to the desired servlet in the ClassPath for the server. In the Management Console, you do that under the server's "Java Settings", adding the desired directory to the CLASSPATH. For instance, to be able to use CFSERVLET to run one of the servlets in the DEMO app, add this to the classpath:

{jrun.rootdir}/servers/default/demo-app/WEB-INF/classes

LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags92.htm
Two comments:
* For JRun 3.0/3.1, cfservlet only works with the default Web application. For the default server, this means that you should place servlet class files under jrunrootdir/servers/default/default-app/WEB-INF/classes.
* For more information on the IP address specified in cfservlet, refer to http://www.allaire.com/Handlers/index.cfm?ID=21403&Method=Full

LiveDocs Comments - coldfusion - 5.0 - CFML_Reference - Tags92.htm
The line:

"This tag is used in conjunction with the cfserletparam tag"

mispells "cfservletparam".





[Top]


Recommended Books

[Top]

Web Sites

[Top]

Copyright © 2003- 2008, Orville Paul Chomer, All Rights Reserved