Servlet as jar

Is it possible to deploy an servlet on domino as a jar?

I’ve tried to put the jar file in both the c:\Lotus\Domino directory and the c:\Lotus\Domino\Data\domino\servlet directory, but none works.

My servlets.properties file has an entry

servlet.test.code=mydomain.test.servlet

servlets.startup bootstrap scs auth admin mmapi stcal fileupload rapfile test

Cheers,

Matt

Subject: Yes it is…

Add your jar into the java path in ini or in the server document:Internet Protocols/DominoWebEngine/JavaServlets.ClassPath.

Make this absolute path file system path.

Now in servlets.properties reference the code as

servlet.name.code=codepackage.classname

Subject: The “Class Path” field order makes a difference deploying JAR files

I tried unsuccessfully to deploy a jar file with servlets and long package names. I even used the complete filepath in the Class Path field, and servlets.properties had the package names. I still got the class-not-found exceptions. Then I tried switching the order of the Class Path entries, putting the one with my jar file first. And voila, it worked!