Command-Line Options


Testing the Installation

After you've installed the server, you need to verify that things are working correctly. Launch a browser and browse to the page http://localhost:8080 (or http://<server ip address>:8080). For the remainder of the book, we assume that the Resin server is located on the local machine and we use the http://localhost:8080 URL. Once the browser makes a connection with the Resin server, the default home page of Resin will be displayed, as shown in Figure 2.11.

click to expand
Figure 2.11: The Resin default home page.

The first time you access the default home page, it will take a moment or two for the page to be displayed. During this pause, the Resin server is activating the Java compiler to convert the XTP-based dynamic pages to a static HTML page. When the page is accessed again, the server will not have to compile the dynamic code again, and subsequently the page will be displayed almost instantaneously. Once the compiling takes place, Resin leaves the resulting code for use when the server is shut down and restarted another time.




Mastering Resin
Mastering Resin
ISBN: 0471431036
EAN: 2147483647
Year: 2002
Pages: 180

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net