Have you defined the server and its mapping in your web.xml?  Make sure you have an 
entry similar to this:


  | <servlet>
  |    <servlet-name>PayPalNotificationServlet</servlet-name>
  |    
<servlet-class>com.mycompany.web.servlet.PayPalNotificationServlet</servlet-class>
  |    <load-on-startup/>
  | </servlet>
  |       ...
  | <servlet-mapping>
  |   <servlet-name>PayPalNotificationServlet</servlet-name>
  |   <url-pattern>/paypal</url-pattern>
  | </servlet-mapping>
  | 

This means whenever someone hits /yourcontext/paypal, it maps to the servlet defined.

Alternatively, to access the servlet using the /example/servlet/* URL, I believe you 
need to use the full classname, i.e., /example/servlet/com.foo.testServlet


<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825329#3825329";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825329>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to