Changes between Version 1 and Version 2 of WebInGnowsis


Ignore:
Timestamp:
07/25/06 12:23:49 (18 years ago)
Author:
sauermann
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebInGnowsis

    v1 v2  
    33[[PageOutline]] 
    44= HTML pages and servlets in gnowsis = 
    5 You can server HTML user interfaces and servlets using a normal web-application container. Gnowsis supports ___Servlet 2.3 specification___ using a Jetty server 4.2.22. This is equivalent to a Tomcat 4.1 server. 
     5You can server HTML user interfaces and servlets using a normal web-application container. Gnowsis supports '''Servlet 2.3 specification''' using a Jetty server 4.2.22. This is equivalent to a Tomcat 4.1 server. Note: '''a service will only have an associated webspace, if the web.xml file exists'''. 
    66 
    77If you look into the GnowsisProjectStructure you will notice where the web-pages and the other web-container related information lies: in the {{{service/projectname/}}} folder. You find there the typical elements of a web-application: 
    8 * WEB-INF - metadata 
    9 ** lib - libraries 
    10 ** classes - the compiled servlets and the compiled gnowsis code 
    11 ** web.xml - config 
     8 * WEB-INF - metadata 
     9   * lib - libraries 
     10   * classes - the compiled servlets and the compiled gnowsis code 
     11 * web.xml - config 
    1212 
    1313To add new HTML pages, put them into these folders or create a new project with similar folders: 
    14 * yourproject/services/yourproject/ 
     14 * yourproject/services/yourproject/ 
    1515 
     16To add new servlets, program the servlet code in the application source packages. Then add the servlet-mapping definitions as usual to the web.xml file. 
    1617 
    1718= JSP Java Server Pages in Gnowsis =