Re: Help Deploying Servlet

2002-09-13 Thread Mauro Daniel Ardolino

It may be your servlet is on a package.

If so, then you have to put your servlet in:
$TOMCAT_HOME/webapps/ROOT/WEB-INF/classes/nameOfThePackage/AddNewsItem.class

Then in web.xml:
 web-app
   servlet
 servlet-nameAddNewsItem/servlet-name
 servlet-classnameOfThePackage.AddNewsItem/servlet-class
   /servlet
 /web-app

I do not know if it will work the call you done because I never
tried to do it this way, but you can try this:
a href=servlet/nameOfThePackage/AddNewsItemthe link to the servlet/a

Bye!

Mauro


On Thu, 12 Sep 2002, Chuck Carson wrote:

  
 I have the following servlet:
 $TOMCAT_HOME/webapps/ROOT/WEB-INF/classes/AddNewsItem.class
  
 I addded this to  WEB-INF/web.xml
 web-app
   servlet
 servlet-nameAddNewsItem/servlet-name
 servlet-classAddNewsItem/servlet-class
   /servlet
 /web-app
  
 I restarted tomcat but I keep getting 404's when referring to
 AddNewsItem from a jsp page like so:
  
 FORM action=AddNewsItem method=POST
  
 What am I missing?
  
 Thanks,
 Chuck
  
  
  
 Chuck Carson 
 Sr. Systems Administrator
 Syrrx, Inc.
 10410 Science Center Drive
 San Diego, CA 92121
 E: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 W: 858.731.3540
 M: 858.442.0827
 
 
 --
 This message contains confidential information and is intended only for
 the individual named. If you are not the named addressee you should not
 disseminate, distribute or copy this e-mail. Please notify the sender
 immediately by e-mail if you have received this e-mail by mistake and
 delete this e-mail from your system. E-mail transmission cannot be
 guaranteed to be secure or error-free as information could be
 intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
 contain viruses. The sender therefore does not accept liability for any
 errors or omissions in the contents of this message, which arise as a
 result of e-mail transmission. If verification is required please
 request a hard-copy version. 
 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


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




RE: Help Deploying Servlet

2002-09-12 Thread Chuck Carson



 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, September 12, 2002 9:45 AM
 To: Tomcat Users List
 Subject: RE: Help Deploying Servlet
 
 
 Have you specify the servlet-mapping.
 
 for exemple :
 
 servlet-mapping
 servlet-nameAddNewsItem/servlet-name
 url-pattern/AddNewsItem/url-pattern
 /servlet-mapping

No, I only had this:

web-app
servlet
 servlet-nameAddNewsItem/servlet-name
 url-pattern/AddNewsItem/url-pattern
/servlet
/web-app

So is this what I need?
web-app
servlet
 servlet-mapping
 servlet-nameAddNewsItem/servlet-name
 url-pattern/AddNewsItem/url-pattern
 /servlet-mapping
/servlet
/web-app

Thanks,
Chuck



 
 
 -Message d'origine-
 De : Chuck Carson [mailto:[EMAIL PROTECTED]]
 Envoye : jeudi 12 septembre 2002 18:27
 A : Tomcat Users List
 Objet : Help Deploying Servlet
 
 
  
 I have the following servlet: 
 $TOMCAT_HOME/webapps/ROOT/WEB-INF/classes/AddNewsItem.class
  
 I addded this to  WEB-INF/web.xml
 web-app
   servlet
 servlet-nameAddNewsItem/servlet-name
 servlet-classAddNewsItem/servlet-class
   /servlet
 /web-app
  
 I restarted tomcat but I keep getting 404's when referring to 
 AddNewsItem from a jsp page like so:
  
 FORM action=AddNewsItem method=POST
  
 What am I missing?
  
 Thanks,
 Chuck
  
  
  
 Chuck Carson 
 Sr. Systems Administrator
 Syrrx, Inc.
 10410 Science Center Drive
 San Diego, CA 92121
 E: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 W: 858.731.3540
 M: 858.442.0827
 
 
 --
 This message contains confidential information and is 
 intended only for the individual named. If you are not the 
 named addressee you should not disseminate, distribute or 
 copy this e-mail. Please notify the sender immediately by 
 e-mail if you have received this e-mail by mistake and delete 
 this e-mail from your system. E-mail transmission cannot be 
 guaranteed to be secure or error-free as information could be 
 intercepted, corrupted, lost, destroyed, arrive late or 
 incomplete, or contain viruses. The sender therefore does not 
 accept liability for any errors or omissions in the contents 
 of this message, which arise as a result of e-mail 
 transmission. If verification is required please request a 
 hard-copy version. 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-user- [EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 



--
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. E-mail transmission cannot be
guaranteed to be secure or error-free as information could be
intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any
errors or omissions in the contents of this message, which arise as a
result of e-mail transmission. If verification is required please
request a hard-copy version. 

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