I would think you would use the standard dot syntax because they are just
compiled classes. What are you using for your web container?

Kevin

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 11:03 AM
To: [EMAIL PROTECTED]
Subject: servlet-class specification in web.xml - '/' or '.' separator?




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



Reply via email to