Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

Angela lewis

Ranch Hand
+ Follow
since Mar 01, 2004
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 Angela lewis

Originally posted by Bert Bates:
I will call Sun today. As far as I knew, the only problem with the Drag and Drop questions was that you couldn't review them without losingyour original answer. I have not heard of the software failing to register a correct answer!

I will post back when I have talked to Sun... in the meantime any more details about these problems would be of great assistance. So, for example when you say "didn't work", what exactly does that mean?

Thanks,

Bert

[ January 20, 2005: Message edited by: Bert Bates ]



Drag and Drop questions only displayed empty boxes.
There is another post which had the same problem
https://coderanch.com/t/168822/java-Web-Component-SCWCD/certification/SCWCD-Passed

I am sure I have read quite a few posts itself in Javaranch complaining about Drag and Drop Questions.

Originally posted by sunitha nerevetla:
which country did u write the exam in?



India
I gave the exam today. I had 6 Drag and Drop questions and none of them worked. I asked the local prometric center authorities and they said it was Sun's problem and they couldn't help with it.
End result, I got all those questions wrong.
Why do they need to have Drag and Drop questions in the exam if they can't make them work in the exam software.
Whats the upcoming book by Kathy and Bert in the heard First Series.
Is "Head First Design Pattern" available in India. Coudn't find in the nearby book stores.
i have installed j2ee 1.3 server but unable to make it run.
I have set java_home, j2ee_home and set the path to bin of both jdk and j2ee.
But when i write
j2ee -verbose
on the command prompt, it gives the following error

No local string for j2ee.listenPort
J2EE server listen port: 1050
No local string for j2ee.naming
Naming service started: 1050
No local string for enterprise.log.logging.serverversion.started
No local string for enterprise.log.using.vm.name.version.from
No local string for enterprise.log.vm's.classpath
No local string for enterprise.log.j2ee.homedirectory
No local string for enterprise.log.logging.serverversion.started
No local string for enterprise.log.using.vm.name.version.from
No local string for enterprise.log.vm's.classpath
No local string for enterprise.log.j2ee.homedirectory
No local string for idle_resource_threshold_error
No local string for binding.datasource

No local string for binding.datasource
...

the problem was jbuilder8. There must be some old binaries which were conflicitng with new JSP2,0 binaries. I uninstalled Jbuilder is its working fine now
thanks everyone
this is the exact error i get

exception

javax.servlet.ServletException: Error instantiating servlet class org.apache.jsp.jsp2.tagfiles.hello_jsp
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Thread.java:536)


root cause

java.lang.VerifyError: (class: org/apache/jsp/jsp2/tagfiles/hello_jsp, method: _jspx_meth_tags_helloWorld_0 signature: (Ljavax/servlet/jsp/PageContext Z) Incompatible argument to function
java.lang.Class.getDeclaredConstructors0(Native Method)
java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
java.lang.Class.getConstructor0(Class.java:1762)
java.lang.Class.newInstance0(Class.java:276)
java.lang.Class.newInstance(Class.java:259)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Thread.java:536)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.

I have uninstalled and reinstalled tomcat a number of times. Even tried using the beta version jakarta-tomcat-5.0.29 but no use. Same error everywhere.
Did it on another machine also but same problem there. I wonder why no one else faced this problem.

Originally posted by Nitish Bahadur:
Curiosity, what version of Tomcat are you running?



Only Tomcat 5 has inbuild jstl examples under jsp-examples. Had it been an earlier version there wouldn't have been inbuild jstl examples. I tried making my own jsp pages using jstl but there is the same error as there is while executing inbuild jstl examples.

Originally posted by Colin Fletcher:
You will need both jstl.jar and standard.jar and need Tomcat 5.x



I am using Tomcat 5.0 and I am only trying to run the inbuild examples under jsp-examples (both the jar files are available there) at this url

http://localhost:8080/jsp-examples
This is what i got when i tried to execute one the inbuild JSP2.0 examples under jsp-examples

java.lang.NoSuchMethodError: javax.servlet.jsp.PageContext.getVariableResolver()Ljavax/servlet/jsp/el/VariableResolver;
I think there is some other problem.
None of the build in JSP 2.0 examples under jsp-examples directory are running. But JSP 1.2 examples are running fine.
please tell me what could be the problem.

Originally posted by Jessica White:
Angela:

It looks like you need to remove whatever you add to web.xml to declare the tld since that is not necessary. (see HFS page 475 for explanation)

Secondly, look at your html code, you mistyped closing tag to be <c:forEach> instead of </c:forEach>

--Jessica



Thanks jessica for replying.
I have corrected the <c:forEach> tag. Deleted the entry from web.xml and tried using your example but still getting this error

javax.servlet.ServletException: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V