Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!

agila arvind

Greenhorn
+ Follow
since Sep 18, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by agila arvind

hi
you can have a look at http://www.examulator.com/moodle/. This link has chapterwise mock exams for scwcd. Also, the 3 final quizzes covering all topics will also be helpfull
Hi,
I passed SCWCD with 81% today.
Many thanks to all the ranchers , who shared their experience & views , which helped me a lot in preparing for this exam.I read HFSJ 2nd edition. Took enthuware mock exams and other freely available exams in examulator.com, http://www.examsguide.com/scwcd/. But the real exam was somewhat difficult than these mocks.I did not get a chance to go through the specification once. Now, i realize going through the specification once, would have helped in answering few questions.
12 years ago
if you are accessing it with url http://localhost:8080/JspInit/web/index.jsp , then your servlet mapping must be
<servlet-mapping>
<servlet-name>MyTestInit</servlet-name>
<url-pattern>/web/index.jsp</url-pattern>
</servlet-mapping>

did you check this ?
Hi
This code will work , if you add a <servlet-mapping> tag in your web.xml as below
<servlet-mapping>
<servlet-name>MyTestInit</servlet-name>
<url-pattern>/index.jsp</url-pattern>
</servlet-mapping>
Hi
For the following question , I thought the answer would be 223. But the correct answer is 123.If EL can apply + operator in ${Two+1} to give 3 , why ${One+1} is not evaluated to 2 ?


Question:
What will happen when you attempt to compile and run the following JSP page contents?


<%request.setAttribute("Two","2");
Integer One = new Integer(1);%>
${One + 1}
${Two}
${Two + 1}
Hi
I am trying to execute the AdviceClient demo as given in HFEJB chap 1 demo

I get the following error when starting j2ee server

Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/corba/se/internal/util/IdentityHashtable
at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.<clinit>(Util.java:87)
at com.sun.corba.ee.internal.POA.POAImpl.activate(POAImpl.java:935)
at com.sun.corba.ee.internal.POA.POAImpl.activate_object(POAImpl.java:895)
at com.sun.corba.ee.internal.CosNaming.TransientNameService.initialize(TransientNameService.java:117)
at com.sun.corba.ee.internal.CosNaming.TransientNameService.<init>(TransientNameService.java:70)
at com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMgr.java:103)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:226)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)

Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/corba/se/internal/util/IdentityHashtable
at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.<clinit>(Util.java:87)
at com.sun.corba.ee.internal.POA.POAImpl.activate(POAImpl.java:935)
at com.sun.corba.ee.internal.POA.POAImpl.activate_object(POAImpl.java:895)
at com.sun.corba.ee.internal.CosNaming.TransientNameService.initialize(TransientNameService.java:117)
at com.sun.corba.ee.internal.CosNaming.TransientNameService.<init>(TransientNameService.java:70)
at com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMgr.java:103)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:226)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)


FYI
J2EE_HOME C:\j2sdkee1.3.1
JAVA_HOME C:\jdk1.6.0_03
classpath: C:\j2sdkee1.3.1\lib\system\cloudscape.jar;C:\j2sdkee1.3.1\lib\system\tools.jar;C:\j2sdkee1.3.1\lib\cloudscape\RmiJdbc.jar;C:\j2sdkee1.3.1\lib\cloudscape\cloudclient.jar;C:\j2sdkee1.3.1\lib\classes;C:\j2sdkee1.3.1\classes;C:\j2sdkee1.3.1\lib\j2ee.jar;C:\j2sdkee1.3.1\lib\toolclasses;C:\j2sdkee1.3.1\lib\j2eetools.jar;C:\j2sdkee1.3.1\lib\locale;;C:\jdk1.6.0_03\lib\tools.jar;C:\j2sdkee1.3.1\lib\jhall.jar .

Please help