Duvida na Questao - SCWCD  XML
Índice dos Fóruns » Certificação Java
Autor Mensagem
Danilo_Kaffa
Debugger

Membro desde: 16/05/2006 13:45:57
Mensagens: 57
Offline

Ola pessoal, estou fazendo o simulado da SUN pra a SCWCD e me deparei com a seguinte questão


Which three, when called on an HttpServletResponse object, always result in all remaining content in the response buffer being flushed to the client?
(Choose three.)

A sendError()
B setStatus()
C flushBuffer()
D sendRedirect()
E getOutputStream()
F getOutputStream().println()

Options A, C, and D are correct.

Alguem poderia me explicar ??

Abraços

Danilo Rodrigues Pereira
Bacharelando em Ciências da Computação - UNESP
SCJP - Sun Certified Java Programmer 1.4
SCWCD - Sun Certified Web Component Developer 1.4
[Email]
danieldestro
Moderador
[Avatar]

Membro desde: 04/09/2002 17:26:16
Mensagens: 6667
Localização: São Paulo / Catanduva
Offline

http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletResponse.html

If the response has already been committed, this method throws an IllegalStateException. After using this method, the response should be considered to be committed and should not be written to.

gotjava?
Doe sangue
What You See Is What You Get!
Apostilas de Java grátis!
RefsCALL - Bandeira Eletrônica para Árbitro de Futebol
[WWW]
 
Índice dos Fóruns » Certificação Java
Ir para:   
Powered by JForum 2.1.8 © JForum Team