-----Original Message-----
From: Magnus Rydin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 21, 2000 11:22 PM
To: Orion-Interest
Subject: RE: InstantiationException in Tag Extension Tutorial, Lesson #3James,
im very sory for this typo, but under "Update the Tag Library Descriptor", step 2, make sure that the name of the iterate tag is <name>iterate</name> with a lowercase 'i'.
I will try to update the online docs asap.
It has been fixed before, so Im quite bewildered at it reappearing..
WR
Magnus Rydin-----Original Message-----
From: james mcmullen [mailto:[EMAIL PROTECTED]]
Sent: den 22 mars 2000 07:06
To: Orion-Interest
Cc: '[EMAIL PROTECTED]'
Subject: InstantiationException in Tag Extension Tutorial, Lesson #3
Hello all,
I'm getting the same error that David Geary was getting a few weeks ago,
when I get to the end of Lesson 3 in the Tag Extension Tutorial.
My ContactLister.jsp is directly from Orion's website. What could I be doing
wrong?
Incidently, I could only get this far by putting my connections.jar in
/orion/lib, not in /orion/servlets, as it says in step 4 of "Create some
Beans".
If I do put it in /orion/servlets I get "java.lang.NoClassDefFoundError:
com/acme/connections/Company".
Thanks for any light that might be shed on this problem,James McMullen
500 Internal Server Error
java.lang.InstantiationException: Could not find the bean named 'contact' in
the page scope
at __jspPage2._jspService(__jspPage2.java:47)
at com.evermind.server.http.EvermindHttpJspPage.service(JAX)
at com.evermind.server.http.HttpApplication.pk(JAX)
at com.evermind.server.http.JSPServlet.service(JAX)
at com.evermind.server.http.c1.l_(JAX)
at com.evermind.server.http.c1.forward(JAX)
at ContactLister.doGet(ContactLister.java:40)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:185)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:297)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:324)
at com.evermind.server.http.c1.l_(JAX)
at com.evermind.server.http.c1.forward(JAX)
at com.evermind.server.http.dc.ca(JAX, Compiled Code)
at com.evermind.util.b.run(JAX, Compiled Code)
Title: RE: InstantiationException in Tag Extension Tutorial, Lesson #3
Magnus,
Thanks
for the prompt reply. I fixed the typo, but my problem remains. How does JSP
decide where to look for classes? I've been unable to get my jsp files to find
classes in jar files.
For
example, if I put hello.jsp and mytags.jar (from Lesson 2) directly under
orion/default-web-app, I get "The page cannot be displayed". Yet I can run the example JSPs
OK.
Similarly, Lesson 3 says to put connection.jar into orion/servlets,
but as far as I can tell it's ignored unless I put it in orion/lib, and I got
farther by moving the class tree directly to
orion/default-web-app/Web-Inf/classes. What is
correct?
James
- InstantiationException in Tag Extension Tutorial, Lesson #3 james mcmullen
- RE: InstantiationException in Tag Extension Tutorial, ... Magnus Rydin
- RE: InstantiationException in Tag Extension Tutorial, ... james mcmullen
- RE: InstantiationException in Tag Extension Tutorial, ... Magnus Rydin
