This week's book giveaway is in the Programmer Certification forum. We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I am using the following code to generate a dropdown wherein the selected value will be in the form variable selectedReason. I am presetting this form variable in my action class. I see that the dropdown is displayed with the preset reason automatically and disabled as expected. But by the time control reaches the method 'shopCart' in my action class, the form variable selectedReason is coming in as null. Can someone please tell me why this form variable is not getting set.
I am not sure if this question would fit in this forum.
When I try to start my server(weblogic), it just says
<Connection Pool "R4dev_JDBCConnectionPool Remote" deployment failed with the following error: 0: Could not connect to 'weblogic.jdbc.oracle.OracleDriver'.
The returned message is: [BEA][Oracle JDBC Driver][Oracle]ORA-01017: invalid username/password; logon denied
It is likely that the login or password is not valid. It is also possible that something else is invalid in the configuration or that the database is not available..>
However the database credentials did not change from my previous connection. I tried deleting the .ear from my c:\bea and redeploying and restarting server. Please help.
- Getting confused with Servlet config and Servlet context. - Using doAfterTag() in simple tag handlers OR using skipPageException in classic tag handlers.
I think all such things would be covered in 'Watch It' boxes in HFSJ.
When have you registered for the exam? Is it true that we can see the test options in the prometric site only on september 19-20? I cant find any such to register for the scea 5 today.
Head First Servlets and Jsp should be a good book to start off with. Most of the time, thats all you need to pass the SCWCD certification. You can read that book 2-3 times, do all the exercises and exams given in the book. You can also go through the jsp, servlet specs and do some mock exams provided by Marcus Green's site. Hope this helps.
HFSJ-> page 485->Q1 - TLD files may be placed in any subdirectory of /WEB-INF. -- Correct option
HFSJ-> page 562->Q8 - Tag file may be placed in any subdirectory of WEB-INF -- Wrong option.
When the option in 485 is considered as correct, shouldn't the one in 562 also be considered as correct? Agreed that the former talks about TLDs and latter about Tags. But still they should be under their specific subdirectories in WEB-INF right?
I think 1 and 3 are correct options, but both of them do it at request time. The only difference lies with the flush attribute which when set to true flushes the buffer before including.