|
 |
pro_jsp thread: A problem with jsp and beans
Message #1 by =?iso-8859-1?Q?Marco_Yand=FAn?= <marco.yandun@o...> on Sat, 1 Dec 2001 20:28:49 -0500
|
|
Hi Julio,
Not sure if there is something wrong with my class path. I don't think
so
because I am running http://localhost:8080/examples/jsp/index.html and
all
other examples work fine, but for some reason (I'd like to know) the
second
example (Date) does not run.
Could you please give me any idea what could be wrong?, what entry
could be
missing in the classpath/tomcat_home just for this example?
Thanks,
Marco.
-----Original Message-----
From: yahoo [mailto:Oliveira_julio@y...]
Sent: Sunday, December 02, 2001 6:50 AM
To: Pro_JavaServer_Pages
Subject: [pro_jsp] RE: A problem with jsp and beans
Hi
At the Tomcat 4 example jsp i have no problem.
Perhaps something is wrong at the classpath of your system.
Install tomcat and put the java_home and the tomcat_home path at the
start..
bat of the tomcat.
If you have ask me for more information
Julio Oliveira
Oliveira_Julio@y...
Buenos Aires - Argentina
-----Mensaje original-----
De: Marco Yand=FAn [mailto:marco.yandun@o...]
Enviado el: S=E1bado, 01 de Diciembre de 2001 10:29 p.m.
Para: Pro_JavaServer_Pages
Asunto: [pro_jsp] A problem with jsp and beans
Hi,
Please,
Does anyone know why the following errors are coming up?. I am trying
to
run the example that is in page 178 from Professional JSP 2nd Edition.
(The
example is the same that comes with Tomcat:
\webapps\examples\jsp\dates\date.jsp and the same problem persists)
Apache Tomcat/4.1-dev - HTTP Status 500 - Internal Server Error
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server
Error)
that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: dates.JspCalendar
at org.apache.jasper.compiler.BeanRepository.getBeanType(Unknown
Source)
at org.apache.jasper.compiler.GetPropertyGenerator.generate(Unknown
Source)
at
org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.genera
te(U
nknown Source)
at
org.apache.jasper.compiler.JspParseEventListener.generateAll(Unknown
Source)
at
org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(Unkno
wn
Source)
at org.apache.jasper.compiler.Compiler.compile(Unknown Source)
at org.apache.jasper.servlet.JspServlet.loadJSP(Unknown Source)
root cause
java.lang.ClassNotFoundException: dates.JspCalendar
at org.apache.catalina.loader.WebappClassLoader.loadClass(Unknown
Source)
at org.apache.catalina.loader.WebappClassLoader.loadClass(Unknown
Source)
at org.apache.jasper.compiler.BeanRepository.getBeanType(Unknown
Source)
at org.apache.jasper.compiler.GetPropertyGenerator.generate(Unknown
Source)
at
org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.genera
te(U
nknown Source)
at
org.apache.jasper.compiler.JspParseEventListener.generateAll(Unknown
Source)
at
org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(Unkno
wn
Source)
at org.apache.jasper.compiler.Compiler.compile(Unknown Source)
Thank you very much, in advance. All of you,
Marco.
---
Do you need true END-TO-END (e2e) Java Messaging (JMS)? Softwired
offers industry's ONLY complete 100% JMS messaging solutions for your
needs TODAY.
Visit
http://adtracking.wrox.com/track.asp?x=3Dp2p%2Fe%2Fjava%2Dsoftwired&url=3D
www.so
ftwired-inc.com NOW and find
out more!
Our unique product range includes: iBus//Mobile (wireless data),
iBus//MessageBus (IP Multicast), iBus//MessageServer (store and
forward)
and much more!
Read the future with ebooks at B&N
http://service.bfast.com/bfast/click?bfmid=3D2181&sourceid=3D38934667&ca
tegoryid
=3Drn_ebooks
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
---
Do you need true END-TO-END (e2e) Java Messaging (JMS)? Softwired
offers industry's ONLY complete 100% JMS messaging solutions for your
needs TODAY.
Visit
http://adtracking.wrox.com/track.asp?x=3Dp2p%2Fe%2Fjava%2Dsoftwired&url=3D
www.so
ftwired-inc.com NOW and find
out more!
Our unique product range includes: iBus//Mobile (wireless data),
iBus//MessageBus (IP Multicast), iBus//MessageServer (store and
forward)
and much more!
Read the future with ebooks at B&N
http://service.bfast.com/bfast/click?bfmid=3D2181&sourceid=3D38934667&ca
tegoryid
=3Drn_ebooks
|
|
 |