homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

Javabeans folder not found
JSP and javabeans

10+ Year Member

Msg#: 3824761 posted 7:06 pm on Jan 12, 2009 (gmt 0)


Under webapps, there’s an application that we’ll call sampleapp.

Under sampleapp is
-A folder called web which has adminjava_lt.jsp

Under the web folder is
-A folder called WEB-INF

Under WEB-INF is a folder called classes

Under classes are:
-a folder called beans
-a folder called servlets

I believe this is the directory structure expected in the Tomcat manual.

The beginning code of adminjava_lt.jsp is:

<%@ page language="java"

<jsp:useBean id="ltable" class="beans.BNLDatabase"/>
<jsp:useBean id="ptable" class="beans.BNMetadata"/>
<jsp:useBean id="list" class="beans.BNCreateListTable"/>

When I enter:

[localhost:8080...] in the address window I’m getting the error message

package beans does not exist

How can I get Tomcat to find the beans folder.





10+ Year Member

Msg#: 3824761 posted 6:36 pm on Jan 14, 2009 (gmt 0)

These problems were resolved by:
- installing Tomcat 6
- using the Java compiler, javac, instead of ANT
- adding CLASSPATH to environment variables to point to the servlet api.jar file under the lib folder


Global Options:
 top home search open messages active posts  

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved