Hi ,

if you have in your project more than one Servlets (not classes from
another package),  then you have to add them as well in your web.xml
file.
Lets say you have servlet1, servlet2 and so one. Your web.xml should
contain these servlets too. Like that:

<web-appl>
<servlet>
  <servlet-name>servlet1 </servlet-name>
  <servlet-class>packageDirectory. servletClassName1 </servlet-class>
</servlet>
<servlet>
 <servlet-name>servlet2  </servlet-name>
 <servlet-class> packageDirectory.servletClassName2 </servlet-class>
</servlet>
<web-appl>

If you would like to use some other classes from another package with
your servlets, then you have to import that package with the import
statement, in your code.

Maybe, you should read the following article :
http://www.stardeveloper.com/articles/061701-1.shtml

Hope that help.

see you!

P.S. To refresh you can try holding down shift and pressing refresh
button in your browser. Sometimes this help.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to