A session-scoped attribute, product, is stored by a servlet. That servlet then forwards to a JSP page. This attribute holds an instance of the com.Company. Product class with a name property of “The Matrix” and price property of 39.95. Given the JSP page code snippet:
What is the response output of this JSP page code snippet? ()
- A、 Default costs 0.0
- B、 Default costs 49.95
- C、 Default costs 39.95
- D、 The Matrix costs 0.0
- E、 The Matrix costs 49.95
- F、 The Matrix costs 39.95
正确答案:B
答案解析:有

微信扫一扫手机做题