jedipi 0 Report post Posted March 19, 2005 Which of the following implicit objects is not available to a JSP page by default?A. applicationB. sessionC. exceptionD. configpublic class TestServlet extends HttpServlet{public void doGet(HttpServletRequest req, HttpServletResponse res){private HttpSession session = req.getSession();private ServletContext ctx = getServletContext();}}Which of the variables used in the above servlet reference objects that are thread safe?A. reqB. resC. sessionD. ctx Share this post Link to post Share on other sites
shahidiimran 0 Report post Posted March 19, 2005 answer is A and D ....i am a little confused becoz worked in J2EE a long time before, so dats why i am replying so to indulge in discussion with you and in dat way i will remember J2EE......i will make my answer confirm too.... Share this post Link to post Share on other sites
cumanji 0 Report post Posted May 6, 2005 Hi, only "exception" object is not avaible by default. All others are avaible.I am not good at multi-threading so i can not answer to your second question Share this post Link to post Share on other sites
iGuest 3 Report post Posted May 26, 2005 C. The "exception" object is available only in an exception page, one with "error = true" attribute in <@page>A, B, C are thread safe because are specific to each user.D is shared for all the users. Share this post Link to post Share on other sites