Sorry I'm so far behind here.
The spec says that the <servlet-name> element should contain "the fully
qualified class name of the servlet". My understanding of the Java
Language Specification is that this means using "." to separate the
package levels.
Craig
On Wed, 18 Jul 2001 [EMAIL PROTECTED] wrote:
>
>
> Hi everyone.
>
> Was wondering if anyone knows whether you should use a '/' or a '.' as the
> package separator in classes specified in web.xml? eg for my precompiled Jsp's:
>
> <servlet>
> <servlet-name>
> changeLogFileName
> </servlet-name>
> <servlet-class>
> JspServ/changeLogFileName
> </servlet-class>
> </servlet>
>
> or
>
> <servlet>
> <servlet-name>
> changeLogFileName
> </servlet-name>
> <servlet-class>
> JspServ.changeLogFileName
> </servlet-class>
> </servlet>
>
> I inherited some code which uses /'s, and this works fine on all platforms,
> except AIX! I submitted a bug (tomcat), and was told that the classes must be
> specified using '.'.
>
> Does anyone familiar with the spec (Craig?) know if this is true? I checked out
> the spec and couldn't find it in there.
>
> Cheers,
>
> Dave
>
>
>
>