13.10. ColdFusion MX and J2EE Integration
This section contains a couple of notes with regard to ColdFusion MX that will help us understand the connection between CFMX and the J2EE technologies it employs.
Note that what we have done above is manually create the web.xml file. CFMX also uses such a file, but it creates the file automatically when we place a JSP into a folder under the CFMX/wwwroot and execute it for the first time. A CFMX-generated web.xml looks slightly different, like this:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <session-config> <session-timeout> 30 </session-timeout> </session-config> <welcome-file-list> ...
Get Java™ for ColdFusion® Developers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.