----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

In a message dated 9/5/00 12:50:39 PM Eastern Daylight Time, 
[EMAIL PROTECTED] writes:

<< How do I invoke servlets that are inside a package?
 
 For example, if I put the Hello servlet in
 
     package com.dummypackage;
 
 how do I invoke it?
 
 
 It seems that
 
     http://dummyhost/servlets/com.dummypackage.Hello
 
 doesn't work (for me at least).
 
 
 Thanks
  >>

If you do not wish to reference the package name of the servlet that you wish 
to execute, you can use an alias by placing the following into 
zone.properties:

servlet.Hello.code=com.dummypackage.Hello

You would then reference it such as follows:

http://localhost/servlets/Hello

Erik Klein
Versatile Consulting, Inc.
621 Lovett Road
Colts Neck, NJ 07722
732-936-0573
mailto:[EMAIL PROTECTED]
http://members.aol.com/ErikKlein


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to