Bug#369270: tomcat5-webapps: working servlet examples are different than those in documentation

Emil Nowak emil5 at go2.pl
Sun May 28 19:27:17 UTC 2006


Package: tomcat5-webapps
Version: 5.0.30-9
Severity: minor

When viewing documentation through tomcat, we have a nicely colorued
servlet examples. 
I found that RequestHeader example is different in documentation, and
different in real.

This documentation is by default on: http://localhost:8180/servlets-examples/reqheaders.html
and file is in:
/var/lib/tomcat5/webapps/servlets-examples/reqheaders.html

and when you click the execute button, above the example, the result is a bit
different that expected.

The real source of this file is in:
/var/lib/tomcat5/webapps/servlets-examples/WEB-INF/classes/RequestHeaderExample.java

It seems that there are old exmamples in colorful html, and different in real
classes. Aren't they automaticly generated? 

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages tomcat5-webapps depends on:
ii  tomcat5                       5.0.30-9   Java Servlet 2.4 engine with JSP 2

tomcat5-webapps recommends no packages.

-- no debconf information




More information about the pkg-java-maintainers mailing list