Running Laszlo applications using Laszlo Presentation Server Core

Note: These instructions are for the LPS 5.0.x Core only.
Click here if you installed the the standard distribution.

To run your first Laszlo application after installing:

  1. Verify the install
  2. Create and run your own applications.

Running Laszlo applications

To run a Laszlo application once you have successfully installed the Laszlo Presentation Server:

  1. Consult your servlet container documentation for information about how to deploy Web applications.  Then deploy the lps-5.0.x web application (directory or war file).
  2. Browse to Laszlo's hello.lzx application to verify that LPS is installed correctly and that Tomcat has started correctly. (The first application may take 30 seconds or so to start.)
  3. Your browser should display something like:

  4. If your browser does not display the Hello, Laszlo! greeting, please see the installation instructions.
  5. Now, check out the Start Here Page for links to documentation, tutorials, examples, samples and more.  (Note: the URL for this page may be slightly different than the one in this page if you run your serlvet container on something other than port 8080, or you deployed the lps-5.0.x web application under a name other than lps-5.0.x.)
  6. Click here for information about running your own Laszlo applications.

Running your own Laszlo applications

To run a Laszlo application that you have created or modified, you should create your own Laszlo-enabled Web application inside your servlet container:

  1. Create a new directory for your application
  2. In this new directory, create a subdirectory called WEB-INF.
  3. Copy the lib and lps directories and web.xml file from the LPS web application directory into your web application.? These files can be found at
    yourInstallationDir\lps-5.0.x\WEB-INF     (Windows)
    yourInstallationDir/lps/lps-5.0.x/WEB-INF (Linux, OS-X)
    Copy them into your application's WEB-INF directory.  If your application already has a web.xml file, you will need to merge the contents of the lps-5.0.x web.xml with your web.xml.

    WARNING: Make sure you duplicate the precise directory structure of the WEB-INF directory when you place these files and directories into your newly-created directory.

  4. Put the .lzx files and art assets that make up your application inside the new directory you created, or put them into a subdirectory you create inside of it.
  5. Consult your servlet container documentation for information about how to deploy this Web application into the container.? For Tomcat, you can simply copy this directory into
          tomcatInstallationDirectory\webapps\your-application-dir (Windows)
          tomcatInstallationDirectory/webapps/your-application-dir (Linux, OS-X)