Annie,
map the invoker servlet in your web.xml of your webapp as well if you want to. So there is an entry like this :


<servlet-mapping>
       <servlet-name>invoker</servlet-name>
       <url-pattern>/servlet/*</url-pattern>
</servlet-mapping>

Alternatively you could just do this :

My servlet definition :
<servlet>
   <servlet-name>HttpReceiver</servlet-name>
   <servlet-class>com.makmal.wireless.billing.servlet.HttpReceiver</servlet-class>
   <init-param>
     <param-name>JNDIResource</param-name>
     <param-value>java:comp/env/jdbc/BillDB</param-value>
   </init-param>
   <load-on-startup>1</load-on-startup>

</servlet>

and the associated mapping :

<servlet-mapping>
   <servlet-name>HttpReceiver</servlet-name>
   <url-pattern>/HttpReceiver/*</url-pattern>
 </servlet-mapping>

So for me if I need to access my servlet I just do a http://localhost/smsbill/HttpReceiver and off I go. If you use the invoker then it is http://localhost/smsbill/servlet/HttpReceiver.








---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to