Steve,

Did you include this tag in your JSP page?

<%@ page import="org.burrus.test.LDAPAuthBean" %>

As you can see from the error output, it is looking in the package:
org.apache.jsp for the LDAPAuthBean, which suggests that you're missing this
tag.

Any class outside of java.lang, and a few others (I don't know 'em off the
top of my head), that you want to use in a JSP page should either use the
full package name or be explicitly imported with this tag.  Specifically,
any classes that you have created yourself.

Hope this helps,
Dodd

P.S. - Sorry to ruin everyone's fun. (Mine included) :)


----- Original Message -----
From: "Steve Burrus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 04, 2003 3:36 PM
Subject: Why won't anyone help me out??


>
> Well, seeing how no one, so far, has seen fit to respond back to my "plea
for help/assistance", I will re-post this from late last nite!! I am getting
quite desperate the longer that I have to go on without getting this right!
>
>
>
> Hello again, Filip, I tried to "package up" the 2 required files,
login.jsp and
> LDAPAuth.java into a newly created "org.burrus.test" folder, and then
compiled them
> into that same folder/directory to create 2 .class files, but then when I
tried to
> run the whole program in my JBuilder 8, I STILL got, for my efforts, the
old 505
> server error page:
>
> Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Errortype
Exception
> reportmessage Internal Server Errordescription The server encountered an
internal error
> (Internal Server Error) that prevented it from fulfilling this
request.exception
> org.apache.jasper.JasperException: Unable to compile class for JSPNote:
> sun.tools.javac.Main has been deprecated.
>
>
> An error occurred at line: 4 in the jsp file: /login.jsp
>
> Generated servlet error:
> C:\Documents and Settings\Steven R.
> Burrus\jbproject\thirdjavaproj\Tomcat\work\login$jsp.java:64: Class
org.apache.jsp.LDAPAuthBean not found.
>                 LDAPAuthBean auth = null;
>                 ^
>
>
> An error occurred at line: 4 in the jsp file: /login.jsp
>
> Generated servlet error:
> C:\Documents and Settings\Steven R.
> Burrus\jbproject\thirdjavaproj\Tomcat\work\login$jsp.java:67: Class
org.apache.jsp.LDAPAuthBean not found.
>                     auth= (LDAPAuthBean)
>                            ^
>
>
> An error occurred at line: 4 in the jsp file: /login.jsp
>
> Generated servlet error:
> C:\Documents and Settings\Steven R.
> Burrus\jbproject\thirdjavaproj\Tomcat\work\login$jsp.java:72: Class
org.apache.jsp.LDAPAuthBean not found.
>                             auth = (LDAPAuthBean)
> java.beans.Beans.instantiate(this.getClass().getClassLoader(),
"LDAPAuthBean");
>                                     ^
> Note: C:\Documents and Settings\Steven R.
> Burrus\jbproject\thirdjavaproj\Tomcat\work\login$jsp.java uses or
overrides a deprecated API.  Recompile with
> "-deprecation" for details.
> 3 errors, 2 warnings
>
>  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
>  at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
>  at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:176)
>  at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:188)
>  at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
>  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
>  at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
>  at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
>  at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
>  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
>  at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
>  at
>
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
>  at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
>  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
>  at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
>  at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
>  at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
>  at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
>  at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
>  at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
>  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
>  at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
>  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
>
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1027)
>  at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
)
>  at java.lang.Thread.run(Thread.java:536)
>
>
> I must note to u that I put on the top of both the login.jsp and the
> LDAPAuthBean.java the package statements "package org.burrus.test", but to
no avail when it
> came to successfully executing the program!
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to