Results 1 to 15 of 15

Thread: JSB Beans and Tomcat problem

Threaded View

  1. #1

    Thread Starter
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994

    Resolved JSB Beans and Tomcat problem

    I'm trying to use a Bean in my JSP page(running on tomcat), but everytime I try to run it says the package doesn't exist, I've placed my package in web-inf/classes/packageName and my class inside of that... The error I get is:

    C:\Programmer\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\index_jsp.java:47: package m does not exist
    m.Person person = null;
    ^

    Does anyone have any idea what might be wrong? I've been googling for 30 minutes now without luck - and I've tried reinstalling tomcat... my JSP code for calling the bean is:

    <jsp:useBean id="person" class="m.Person" scope="session" />
    <jsp:setProperty name="person" property="*" />


    <Moderator added green checkmark in the first thread>
    Last edited by NoteMe; Feb 17th, 2005 at 07:16 AM.
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width