English Русский Contacts Site map Add to favorites
Registration
Login
Master braindump list
New braindumps
Submit a dump
Get latest dump
braindumps.com.ua
flame
3COM (7)
Adobe (1)
BEA (1)
Checkpoint (22)
Cisco (20)
Citrix (21)
CIW (15)
Compaq (0)
CompTIA (51)
CWNA (2)
EMC (2)
Exin (4)
GEJOS (4)
HDI (1)
HP (4)
IBM (13)
Juniper (5)
Linux Prof Institute (LPI) (2)
Lotus (11)
Microsoft (2462)
Network Appliance (2)
Novell (16)
Oracle (423)
PLSQL (1)
PMI (5)
SAS (1)
Sun (87)
Teradata (4)
Login:
Password:
RSS feed

Contacts
Certification links
Links
Authorized user can see question and answers.
Please log in or sign up.

Exam question list:
Show all comments
Sun 310-080: Sun Certified Web Component Developer for the Java 2 Platform, Enterprise Edition 1.3
#41. Given this code in a servlet method:
  1. Principal user = request.getUserPrincipal();
If this servlet is used to respond to a request in which the user HAS NOT been authenticated, what happens at runtime?

Show comments for this question (0)
Add comments
Link to this question

#42. Which XML tag may be used to specify the JSP page directive?

Show comments for this question (0)
Add comments
Link to this question

#43. Exhibit:
  1. 1. public class JellyBean {
  2. 2. private int count;
  3. 3. public void setCount(int count) {
  4. 4. this.count = count;
  5. 5. }
  6. 6. public int getCount() {
  7. 7. return count;
  8. 8. }
  9. 9. }
Given:
  1. 1. <html>
  2. 2. <body>
  3. 3. <jsp:useBean id=”ExamsheetsBean” class=”JellyBean”>
  4. 4.
  5. 5. </jsp:useBean>
  6. 6. </body>
  7. 7. </html>
Which two inserted individually at line 4, will initialize the count property of the newlycreated JellyBean ExamsheetsBean? (Choose two)

Show comments for this question (0)
Add comments
Link to this question

#44. Given:
  1. <jsp:useBean id=”baz” class=”com.Examsheets.Examsheets”
  2. type=”com.Examsheets.Bar” />
Which two are true? (Choose two)

Show comments for this question (0)
Add comments
Link to this question

#45. Given:
  1. <jsp:useBean id=”ExamsheetsBean” class=”com.Examsheets.Examsheets”
  2. scope=”xxxx” />
Which value, substituted for xxxx, will automatically store ExamsheetsBean as an attribute in the JSP page’s ServletContext?

Show comments for this question (0)
Add comments
Link to this question

#46. Exhibit:
  1. 1. package beans;
  2. 2. public class ValueBean {
  3. 3. private int value;
  4. 4. public ValueBean() {
  5. 5. this.value200;
  6. 6. }
  7. 7. public void setValue(int value) {
  8. 8. this.value = value;
  9. 9. }
  10. 10. public.value int getValue() {
  11. 11. return value;
  12. 12. }
  13. 13. }
Given:
  1. 1. <jsp:useBean id-‘valueBean’ class-‘beans.ValueBean’>
  2. 2. <jsp:setProperty name=’valueBean’ property=’value’
  3. 3. value-‘<%- 100 %>’/>
  4. 4. </jsp:useBean>
  5. 5. <%- valueBean.getValue() %>
  6. 6. <jsp:useBean id=’valueBeanTwo’ class=’beans.ValueBean’/>
  7. 7. <%- valueBeanTwo.getValue() %>
What is the result?

Show comments for this question (0)
Add comments
Link to this question

#47. Which two are true about Web application archive files? (Choose two)

Show comments for this question (0)
Add comments
Link to this question

#48. Given that the deployment descriptor for a Web application named test contains:
  1. 12. <servlet-mapping>
  2. 13. <servlet-name>Examsheets</servlet-name>
  3. 14. <url-pattern>*.bop</url-pattern>
  4. 15. </servlet-mapping>
Which will invoke the servlet instance named Examsheets?

Show comments for this question (0)
Add comments
Link to this question

#49. Where must the class file for ExamsheetsServlet be located?

Show comments for this question (0)
Add comments
Link to this question

#50. Which element name is used in a deployment descriptor to specify the name of the a servlet definition?

Show comments for this question (0)
Add comments
Link to this question


 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] ... [16 
Up ^ gen. 0.151 Server date 06:08 10-01-2009 Developed by Zip © 2006 Up ^
Forum
Start online exam simulation
Master braindump