|
|

Sun 310-080: Sun Certified Web Component Developer for the Java 2 Platform, Enterprise Edition 1.3
|
#1. Given: 1. public class ServletTest extends HttpServlet{ 2. public void goGet( 3. HttpServletRequest request 4. HttpServletResponse response) 6. { 7. String message = *In doGet*; 8. 9. } 10. }
Which two, inserted individually at line 8, will each place an entry in the servlet log file? (Choose two)
|
|
#2. 1. <%@ taglib uri=’exmaple’ prefix=’example’%>
2. <example:aTagWithABody>
3. <%=”BODY CONTENT”%>
4. </example:aTagWithABody>
If the aTagWithABodytag extends javax.servlet.jsp.tagext.TagSupport, and anr1 that tag’s handler returns EVAL_BODY_BUFFERED from doStartTag, what is the result of processing the JSP code?
|
|
#3. In a JSP custom tag, which method would you use to access the JSP implicit variable that references the application scope?
|
|
#4. Which method is used to retrieve objects from an HTTP session?
|
|
#5. Which method is used by a servlet to place its session ID in a URL that is written to the servlet’s response output stream?
|
|
#6. Which statement is true?
|
|
#7. Which correctly defined “data integrity”?
|
|
#8. When a session becomes invalid, which method will be invoked on a session attribute object that implements the corresponding interface?
|
|
#9. Which two are equivalent? (Choose two)
|
|
#10. Which statement is true about assertions in the Java programming language?
|
|
|
|
gen. 0.213
|
Server date 13:51 15-03-2010
|
Developed by Zip © 2006
|
|
 |
|
|