16.3. Setup

There are a few things you need to make sure are in place to get the app off the ground.

  • Make sure the MYSQL database is set up.
  • Create a new context in Tomcat to run it under Tomcat. To do this, copy a folder called store into <TOMCAT_HOME>/webapps. You must fill out four key items on the Context Addition if you are using Tomcat's Administrator Web app:
    1. Doc Base: javaforcf

    2. Path: /javaforcf

    3. Working Directory: work\Standalone\localhost\javaforcf

    4. SessionID Initializer: org.apache.catalina.session.Standard-Manager

  • Then save and commit changes.
  • Restart Tomcat.
  • You must have the JSTL installed. Click taglibs and download the most recent stable version. I am using jakarta-taglibs-standard-1.0.zip. Extract it using zip or jar to your ...

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.