Echo Guide (1)

zhaozj2021-02-16  48

Echo Introduction Guide The Tutorial This tutorial is designed for Java beginners to provide some basic knowledge about ECHO. It only introduces basic concepts without explaining all features. Please refer to the API Documentation for in-depth discussion about all features. What must you know before start? The guide is suitable for programmers that can make basic work with Java. If you are not, you'd better read Java Tutorial before starting to learn Echo. Knowledge with Java Swing will also help you, but this doesn't mean you have to master it; Echo and it have some similar APIs, although it does not actually use Java Swing. You don't have to know before you start? Echo does not require developers to master any knowledge about HTML, HTTP or JavaScript. You don't need to know how to create Java Servlets, but in order to write your own application you need to learn how to configure servlet container. (Tutorial is to never understand the situation of Java servlets configuration)

How to run sample programs run the Echo sample program on your machine. If you don't have Java 2 and any servlet 2.2 (or higher) Container:

Downloading from Sun's Station Download installation Java 2 Platform, Standard Edition: Java 2 Platform, Standard Edition Home Page Downloads from Apache Jakarta Project Downloads Tomcat Version 4.0.1 (or later): JAKARTA DOWNLOAD PAGE. It is recommended to use this servlet container because it is very easy to install. When Java 2 and a servlet 2.2 (or higher) Container are installed to your machine:

Download the Echo code package from Download Page, if you haven't downloaded it yet. Unzip Echo Compressed Code Pack. Configure the ECHOTUTORIAL.WAR file under the Tutorial directory for Servlet Container. If the servlet container used is Jakarta Tomcat, simply copy eChotutorial.war to the Jakarta Tomcat's webApps directory. Start Servlet Container, if you have already started, restart it. In the browser, open http: // localhost: 8080 / eChotutorial / HelloWorld. It is valid only when your Server runs in the 8080 port of localhost. If not, you need to modify the address on the upper side to map your server's hostname and port. If the default installation of Jakarta Tomcat is completed, the address on the upper side should work. If "Hello, World!" Appears in your browser window, then sample programs have been properly installed. If you have difficulty, please send the relevant information to support@nextapp.com. Please tell us what servlet Container, Java Runtime Environment, and Operating System. If you are not using Jakarta Tomcat, we strongly recommend you to use, although we will help you let Echo run on any platform you choose.

转载请注明原文地址:https://www.9cbs.com/read-25658.html

New Post(0)