Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
SCWCD

SCWCD

Ratings: (0)|Views: 123|Likes:
Published by api-27225779

More info:

Published by: api-27225779 on Oct 15, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/18/2014

pdf

text

original

Sun 310-080
Java 2 Enterprise Edition (J2EE) Web Component Developer
Version 8.0
310 - 080
Leading the way in IT testing and certification tools,www. t estkin g.com
- 2 -
Important Note, Please Read Carefully
Study Tips

This product will provide you questions and answers along with detailed explanations carefully compiled and written by our experts. Try to understand the concepts behind the questions instead of cramming the questions. Go through the entire document at least twice so that you make sure that you are not missing anything.

Further Material
For this test TestKing also provides:
* Interactive Test Engine Examinator. Check out an Examinator Demo at
http://www.testking.com/index.cfm?pageid=724
Latest Version

We are constantly reviewing our products. New material is added and old material is revised. Free updates are available for 90 days after the purchase. You should check your member zone at TestKing an update 3-4 days before the scheduled exam date.

Here is the procedure to get the latest version:
1. Go towww.testking.com
2. Click on Member zone/Log in
3. The latest versions of all purchased products are downloadable from here. Just click the links.
For most updates, it is enough just to print the new questions at the end of the new version, not the
whole document.
Feedback
Feedback on specific questions should be send to feedback@testking.com. You should state: Exam
number and version, question number, and login ID.
Our experts will answer your mail promptly.
Explanations

Currently this product does not include explanations. If you are interested in providing TestKing
with explanations contactf eedb ack @t estking. c o m. Include the following information: exam, your
background regarding this exam in particular, and what you consider a reasonable compensation for
the work.

Copyright

Each pdf file contains a unique serial number associated with your particular name and contact information for security purposes. So if we find out that a particular pdf file is being distributed by you, TestKing reserves the right to take legal action against you according to the International Copyright Laws.

310 - 080
Leading the way in IT testing and certification tools,www. t estkin g.com
- 3 -
Note:

Section A contains 103 questions.
Section B contains 59 questions.
The total number of questions is 162.

Section A
QUESTION NO: 1
Given:
1. public class ServletTest extends HttpServlet{
2.
public void goGet(
3.
HttpServletRequest request
4.
HttpServletResponse response)
5.

throws ServletException, IOException
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)

A.log(message);
B.request.log(message);
C.getServletInfo().log(message);
D.getServletConfig().log(message);
E.getServletContext().log(message);
F.request.getSession().log(message);

Answer: A. E
QUESTION NO: 2

1. <%@ taglib uri=\u2019exmaple\u2019 prefix=\u2019example\u2019%>
2. <example:aTagWithABody>
3.

<%=\u201dBODY CONTENT\u201d%>
4. </example:aTagWithABody>

If the aTagWithABodytag extends javax.servlet.jsp.tagext.TagSupport, and anr1 that tag\u2019s
handler returns EVAL_BODY_BUFFERED from doStartTag, what is the result of processing
the JSP code?

A. Compilation fails.
B. \u201cBODY CONTENT\u201d is returned in the generated response.
C. \u201c<%=BODY CONTENT%>\u201d is returned in the generated response.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->