PRJ301_-_FA_2022_-_FE_-_01_230.webp
hirosi212

PRJ301_-_FA_2022_-_FE_-_01_230.webp

//In file ReportServlet.java
public class ReportServlet extends HttpServlet
public void doPost(HttpServletRequest req, HttpServletResponse res) throws IOException
String userid= req.getSession().getAttribute("userid");if(userid != null) generateReport (req, res);
Answer (Choose 1 answer)
Multiple choices 20/50
Consider the code of ReportServlet servlet of a web application. Assuming generateReport() is valid method and have no problems, which of the following statement about these servlet is true?
{
A. ReportServlet will throw exception at runtime.
B. ReportServlet.java will compile and run without any problems.
Next
C. ReportServlet.java won't compile.
}
1
2
3
4
5
6
7
8
10
11
12
13
14 15
16
17 18 19
20 21
22
23
24 25 26 27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45 46 47 48
49 50

Thông tin

Category
PRJ301
Thêm bởi
hirosi212
Ngày thêm
Lượt xem
1,667
Lượt bình luận
13
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom