troubleshooting Question

jsp classes and paths...

Avatar of simlox
simloxFlag for United Kingdom of Great Britain and Northern Ireland asked on
JSP
9 Comments1 Solution263 ViewsLast Modified:
I've created a jsp page using beans from a package called 'pplus' but when i run through apache i get the following error:

An error occurred at line: 7 in the jsp file: /petro/TestJSP.jsp

Generated servlet error:
C:\Program Files\Apache Tomcat 4.0\work\localhost\_\petro\TestJSP$jsp.java:62: Class pplus.securityBean not found.
                pplus.securityBean secure = null;

The jsp code is as follows:

<jsp:useBean id="secure" scope="session" class="pplus.securityBean" />
<jsp:setProperty name="secure" property="*" />
<jsp:useBean id="user" scope="session" class="pplus.userbean" />

and the structure is:


apache-
-webapps-
-webapps-ROOT-
-webapps-ROOT-petro

in petro is the testJSP.jsp file

then we have:

-webapps-ROOT-petro-
-webapps-ROOT-petro-WEB-INF-
-webapps-ROOT-petro-WEB-INF-classes-
-webapps-ROOT-petro-WEB-INF-classes-pplus

and i have the class files in pplus folder..
ASKER CERTIFIED SOLUTION
bobbit31

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros