Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 62750 invoked from network); 28 Jul 2006 18:50:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Jul 2006 18:50:02 -0000 Received: (qmail 54761 invoked by uid 500); 28 Jul 2006 18:49:50 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 54747 invoked by uid 500); 28 Jul 2006 18:49:50 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 54736 invoked by uid 99); 28 Jul 2006 18:49:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 11:49:50 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=NO_REAL_NAME,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of Siomara@planalto.gov.br designates 200.198.192.196 as permitted sender) Received: from [200.198.192.196] (HELO xingu.in.planalto.gov.br) (200.198.192.196) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 11:49:48 -0700 Received: by XINGU with Internet Mail Service (5.5.2656.59) id ; Fri, 28 Jul 2006 15:49:22 -0300 Message-ID: From: Siomara@planalto.gov.br To: users@tomcat.apache.org Subject: RES: Back to 404 problem: The requested resource (/Sisc/servlet/s ervle ts/PesquisaTabPeriferica) is not available Date: Fri, 28 Jul 2006 15:49:12 -0300 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks Guilherme and everybody else that helped me regarding the 404 = problem The mistake was mine. I decided to create a web.xml file from scratch = insted of using an existing one and by mistake included all my servlets into = one and tag. It was working fine with just one servlet but the second one messed up completely. thanks once more Sio -----Mensagem original----- De: guilherme.silveira@gmail.com = [mailto:guilherme.silveira@gmail.com]Em nome de Guilherme Silveira Enviada em: quinta-feira, 27 de julho de 2006 20:09 Para: Tomcat Users List Assunto: Re: Back to 404 problem: The requested resource (/Sisc/servlet/servle ts/PesquisaTabPeriferica) is not available Oi Siomara, > > incluiMarcaPropriedade > servlets.IncluiMarcaPropriedade > > pesquisaTabPeriferica > servlets.PesquisaTabPeriferica > > registraMarcaPropriedade > = servlets.RegistraMarcaPropriedade > The servlet specification doesnt mention allowing two servlets configured in one servlet tag.... (take a look at the dtd file) For the 2.3 specs you should put 8 lines of code for each servlet+servlet mapping This might be your prob Att Guilherme Silveira This never happened to me before. I am > losing confidence regarding TOMCAT and don't know what to do. > Can someone help me please. I do appreciate your feed back. > These are my calls from the application: > > from index.htm: > ... > href=3D"servlet/servlets/PesquisaTabPeriferica?idTabela=3D1"> > Consultar/Manuten=E7=E3o Marca de Propriedade > ... > > > from incluiMarcaPropriedade.htm: > ... > ////////////////////////////////////////////////////////////////////////= //// > /// > // Validate fields and submit form elements to servlet > RegistraMarcaPropriedade > // > function doFormSubmit() > { > objfrm=3Ddocument.incluiAlteraMarcaPropriedade; > //Store the file path of the next servlet/jsp to be called > strFilePath =3D "servlet/servlets/RegistraMarcaPropriedade" > > strDescricao=3Dobjfrm.txtDescricao.value; > if(isSpecialChar(strDescricao) || !isChar(strDescricao)) > { > alert("Favor entrar com uma descri=E7=E3o v=E1lida."); > objfrm.txtDescricao.focus(); > return false; > } > > if(isEmpty(strDescricao)) > { > alert("Campo obrigat=F3rio"); > objfrm.TxtNumber.focus(); > return false; > } > > objfrm.method=3D"post"; > objfrm.action=3DstrFilePath; > return true; > objfrm.submit(); > > } > ... > Thanks a lot > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --=20 Guilherme Silveira -------------------------------------------------- guilherme.silveira@caelum.com.br Caelum - Ensino e Solucoes em Java www.caelum.com.br --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org