Sample Web Apps

 


Overview

For configuration instructions, see Deploying Apps in Tomcat.

 


Examples

  1. Hello2

    Source:

    build.xml web/
    
    ./web:
    duke.waving.gif  greeting.jsp  greeting.txt  response.jsp  response.txt  WEB-INF/
    
    ./web/WEB-INF:
    web.xml
    
    

  2. ConverterBean

    Source:

    build.xml  gs.war  white.css  src  web
    
    ./src:
    converterApp/
    
    ./src/converterApp:
    ConverterBean.class  ConverterBean.java  
    
    ./web:
    index.jsp  WEB-INF/
    
    ./web/WEB-INF:
    web.xml
    

  3. hello1

    Source:

    build/  build.xml  src/  web/
    
    ./build:
    WEB-INF/
    
    ./build/WEB-INF:
    classes/
    
    ./build/WEB-INF/classes:
    
    ./src:
    GreetingServlet.java  ResponseServlet.java  
    
    ./web:
    duke.waving.gif  WEB-INF/
    
    ./web/WEB-INF:
    web.xml
    


 

Home