Oi Siomara,
<servlet>
<servlet-name>incluiMarcaPropriedade</servlet-name>
<servlet-class>servlets.IncluiMarcaPropriedade</servlet-class>
<servlet-name>pesquisaTabPeriferica</servlet-name>
<servlet-class>servlets.PesquisaTabPeriferica</servlet-class>
<servlet-name>registraMarcaPropriedade</servlet-name>
<servlet-class>servlets.RegistraMarcaPropriedade</servlet-class>
</servlet>
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:
...
<td width="50%" height="20"><a
href="servlet/servlets/PesquisaTabPeriferica?idTabela=1">
Consultar/Manutenção Marca de Propriedade</a></td>
...
from incluiMarcaPropriedade.htm:
...
////////////////////////////////////////////////////////////////////////////
///
// Validate fields and submit form elements to servlet
RegistraMarcaPropriedade
//
function doFormSubmit()
{
objfrm=document.incluiAlteraMarcaPropriedade;
//Store the file path of the next servlet/jsp to be called
strFilePath = "servlet/servlets/RegistraMarcaPropriedade"
strDescricao=objfrm.txtDescricao.value;
if(isSpecialChar(strDescricao) || !isChar(strDescricao))
{
alert("Favor entrar com uma descrição válida.");
objfrm.txtDescricao.focus();
return false;
}
if(isEmpty(strDescricao))
{
alert("Campo obrigatório");
objfrm.TxtNumber.focus();
return false;
}
objfrm.method="post";
objfrm.action=strFilePath;
return true;
objfrm.submit();
}
...
Thanks a lot
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Guilherme Silveira
--------------------------------------------------
[EMAIL PROTECTED]
Caelum - Ensino e Solucoes em Java
www.caelum.com.br
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]