tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Tomcat won't pick up my classes
Date Fri, 24 May 2002 06:57:32 GMT

Did you try restarting Tomcat after putting the class file in the correct

                    "Glen Verran"                                                        
                    <glen.verran@trad       To:     <>
          >              cc:     (bcc: Raymond Pau/adc)            
                                            Subject:     Tomcat won't pick up my classes 
                    05/24/2002 02:30                                                     
                    Please respond to                                                    
                    "Tomcat Users                                                        

Hi there

I am using Tomcat 4.0.3 full on Windows 2000.  I wrote a small jsp that
references a class that I wrote in java.  When the jsp gets called, an
is returned that it cannot find the class I am specifying.  I copiied my
java class file into the WEB_INF/classes path off my ROOT folder and
$CATALINA_HOME/classes,  as well as other places I could find a classes
folder, but still no luck.  This is the jsp that I call once I have
submitted information via the form.  The class LogonData is correct as is.
It is a bean that contains get and set methods and 3 properties.  I hope
that you can help me on this one?  Can you tell me how I can tell Tomcat to
go and load my class up when it compiles?


<jsp:useBean id="user" class="LogonData" scope="session"/>
<jsp:setProperty name="user" property="*"/>
  switch (user.getUserType()) {
   case 1 : %>
    <jsp:include page="Broker.html"/>


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message