Running Laszlo applications using Laszlo Presentation Server Core
Note: These instructions are for the LPS 4.0.3 Core only.
Click here if you installed the
the standard distribution.
To run your first Laszlo application after installing:
- Verify the install
- Create and run your own applications.
To run a Laszlo application once you have successfully installed the Laszlo Presentation Server:
- Consult your servlet container documentation for information about how to deploy Web applications.
Then deploy the lps-4.0.3 web application (directory or war file).
- 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.)
- Your browser should display something like:
- If your browser does not display the Hello, Laszlo! greeting,
please see the installation instructions.
- 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-4.0.3 web application under a name other
than lps-4.0.3.)
- 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:
- Create a new directory for your application
- In this new directory, create a subdirectory called WEB-INF.
- 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-4.0.3\WEB-INF (Windows)
yourInstallationDir/lps/lps-4.0.3/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-4.0.3 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.
- 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.
- 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)
Copyright © 2002-2005 Laszlo Systems, Inc.
All Rights Reserved. Unauthorized use, duplication or
distribution is strictly prohibited. This is the proprietary
information of Laszlo Systems, Inc. Use is subject to license terms.