📄 readme
字号:
Simple Servlet Sample-------------This sample demonstrates web development with Ozone. It is deliberatelyvery simple, basically a Hello World where the Hello message comes froma persistent object.Either set OZONE_HOME or edit the bin\settings.bat file to change the fall-back setting of OZONE_HOME to reflect your actual settings.The example is using TOMCAT and requires a CATALINA_HOME environment variableto work but should be easily ported to any other servlet container.Building It-----------Run "build.bat" in the simpleServlet directory. This will deploy the war fileto Tomcat.Running it----------1. Run bin\startOzone.bat to start an Ozone server.2. Start tomcat (%CATALINA_HOME%\bin\startup.bat).3. Run "build.bat runManager" in the simpleServlet directory. This will start theclient application that creates the persistant object.4. Run "build.bat runClient" in the simpleServlet directory. This will start theclient application that connects to the servlet and gets the result.Note that you might need to change your port inthe HelloClient in case Tomcat is running on another one, e.g. 8080.You can also see the result in the web browser by using the url"http://localhost/SimpleOzoneServlet" which takes you to the index.html page.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -