Homework Clinic
Science Clinic => Computer Science => Topic started by: asmith134 on May 6, 2020
-
Question 1
To access Oracle or MySQL from servlet, where the Oracle and MySQL jar files should be placed?
◦ TomcatRootDir\webapps\WEB-INF\classes
◦ TomcatRootDir\common\lib
◦ in the class directory of the servlet class code
◦ in the class directory of the servlet source code
Question 2
You can use ________ to implement session tracking in servlets.
◦ HTML hidden values in a form
◦ the HttpSession class
◦ the Cookie class
-
Answer 1
TomcatRootDir\common\lib
Answer 2
▸HTML hidden values in a form
▸the HttpSession class
▸the Cookie class
-
thank you