Changes between Version 1 and Version 2 of WebInGnowsis
- Timestamp:
- 07/25/06 12:23:49 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebInGnowsis
v1 v2 3 3 [[PageOutline]] 4 4 = 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.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. Note: '''a service will only have an associated webspace, if the web.xml file exists'''. 6 6 7 7 If 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 - metadata9 ** lib - libraries10 ** classes - the compiled servlets and the compiled gnowsis code11 ** web.xml - config8 * WEB-INF - metadata 9 * lib - libraries 10 * classes - the compiled servlets and the compiled gnowsis code 11 * web.xml - config 12 12 13 13 To 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/ 15 15 16 To 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. 16 17 17 18 = JSP Java Server Pages in Gnowsis =