Oi pessoal,
Estou precisando de uma ajudinha, tenho a seguinte tela:
no meu jsp,tenho o seguinte código:
<p align=right>
<BR>Data Final: <input name="dataF" id="dataF" type="date" size="12">
<BR><BR>
<!-- Tem que mudar a função do OnClick de cada um -->
<input value="Confirmar" name="confirmar" type="submit" style="height: 25px; width: 75px"
>
<input value="Limpar" type="button" style="height: 25px; width: 75px"
onClick="javascript
<P><BR>
No meu controller recupero o name passado para o text, da seguinte forma:
int idElemento=Integer.
SimpleDateFormat sdf=new SimpleDateFormat(
String auxInicio=request.
String auxFim=request.
Date dataInicio=null;
Date dataFim=null;
try {
dataInicio=sdf.
dataFim=sdf.
if ((auxInicio=
System.out.println(
} else {
elemento_TipoInterv
}
} catch (Exception e) {
e.printStackTrace(
}
Sendo que no depuração não está recuperando os parâmetros, aparecem como nulos. O que está errado?
Obrigada,
Flávia
____________
AVISO
Esta mensagem é destinada exclusivamente a(s) pessoa(s) indicada(s)
como destinatário(
protegidas por lei.
A transmissão incorreta da mensagem não acarreta a perda de sua
confidencialidade.
Caso esta mensagem tenha sido recebida por engano, solicitamos que
seja devolvida ao remetente e apagada imediatamente de seu sistema. É
vedado a qualquer pessoa que não seja destinatário, usar, revelar,
distribuir ou copiar ainda que parcialmente esta mensagem.
____________
DISCLAIMER
This message is destined exclusively to the intended receiver. It may
contain confidential or legally protected information.
The incorrect transmission of this message does not mean loss of its
confidentiality.
If this message is received by mistake, please send it back to the
sender and delete it from your system immediately. It is forbidden to
any person who is not the intended receiver to use, reveal,
distribute, or copy any part of this message.
____________
[As partes desta mensagem que não continham texto foram removidas]
Para upload/download de arquivos: http://www.yahoogroups.com/files/java-br
0 comentários:
Postar um comentário