CIW Web DevelopER(JCERT) 認定 1D0-532 試験問題:
1. Which method would be used to call a registered servlet with the following attributes?
Site = www.jcert.org
Web application name = testApp
Servlet URI = TestServlet
A) getServletConfig().getServletContext().getRequestDispatcher("http://www.jcert.org/testApp/ TestServlet").forward(req,res);
B) getServletConfig().getServletContext().getRequestDispatcher("/testApp/TestServlet").forwa rd(req,res);
C) getServletConfig().getServletContext().getRequestDispatcher("/TestServlet").forward(req,re s);
D) getServletConfig().getServletContext().getRequestDispatcher("TestServlet").forward(req,re s);
2. Where would an EJB reference be found if it were placed in the JNDI location recommended in J2EE 1.3?
A) java:comp/ejb
B) java:env/ejb
C) java:comp/env/ejb
D) java:ejb
3. Which of the following event listeners must be notified by the container in the event of a session timeout?
A) HttpSessionAttributesListener
B) ServletContextListener
C) HttpSessionListener
D) ServletContextAttributeListener
4. Given a single client accessing a JSP that contains the following fragment, what will be resulting output in the browser?
<%! final double interestRate = 3.4; %>
Your current balance is: <% int balance = 1000; %> <br>
The interest rate is: <%= interestRate %>
A) Your current balance is:
The interest rate is: interestRate
B) Your current balance is: 1000
The interest rate is: 3.4
C) Your current balance is:
The interest rate is: 3.4
D) Your current balance is: 1000
The interest rate is: interestRate
5. Given:
...
BodyPart msgPart = new MimeBodyPart();
msgPart.setContent(" This is embed text with <img src=\"cid:embeddedImage\"> as the embedded image"); MimeMultipart multipart = new MimeMultipart("related"); multipart.addBodyPart(msgPart); msgPart = new MimeBodyPart(); DataSource fds = new FileDataSource(file); msgPart.setDataHandler( new DataHandler(fds)); Which of the following would successfully embed the image into the body in the next line?
A) msgPart.setHeader("DataSource",fds);
B) msgPart.setHeader("Content-ID","embeddedImage");
C) msgPart.setHeader("MultipartDataSource",msgPart);
D) msgPart.setHeader("MimeMultiPart","related");
質問と回答:
| 質問 # 1 正解: C | 質問 # 2 正解: C | 質問 # 3 正解: C | 質問 # 4 正解: C | 質問 # 5 正解: B |














1151 お客様のコメント
品質保証JPexamはIT認定試験のシラバスに従って、試験問題の範囲を正確に絞って、的中率が99%の最新問題集を捧げます。
1年間の無料更新サービスJPexamは1年以内に問題集の無料更新サービスを提供し、お客様がいつでも最新版の問題集を持つことを保証いたします。もし試験の内容が変更されたら、弊社は直ちにお客様にお知らせします。それに、弊社の問題集が更新されたら、早速メールで最新バージョンを送付いたします。
全額返金JPexamの問題集を利用すると、短時間で勉強しても試験に合格できるのを保証いたします。試験に不合格になってしまった場合、弊社は全額返金いたします。(
ご購入前のお試しJPexamは問題集のサンプルを無料で提供いたします。ご購入前にサンプルを試用して製品の品質を確認することができます。ご遠慮なく利用してください。
