> But for some reason, if I have the package statement, browser
> will display the message saying file not found.
> Without the package statement, the servlet runs just fine.
>
> Is there something that I did wrong?

If you have something like this:


package com.myservlet;

public class AServlet extends HttpServlet

Then, the use the url:

http://www.server.com/servlets/com.myservlet.AServlet

make sense?

-jon



----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to