HELP! Beginning JSP with JavaBean Class

First of all, I'm using jdk1.4 beta and Jakarta's tomcat version 4.0.1 release build.
Hello. I desparately need help. I have a JavaBean class ("CarBean.class") saved in %catalina_home%\webapps\root\myapp\web-inf\classes\com\wrox\cars\CarBean.class
I also have a jsp page saved as carpage.jsp in %catalina_home%\webapps\root\myapp\
So when I point my browser to http://localhost:8080/myapp/carpage.jsp, I get an internal server error. It appears it can't find the JavaBean class for some reason. I'm pretty sure I have my envionment variables set up right. I can get it to work, if I save the JavaBean class in c:\jdk1.4\jre\class\com\wrox\cars
Here's my JavaBean class source file:
package com.wrox.cars;
import java.io.Serializable;
public class CarBean implements Serializable {
public CarBean() {
private String make = "Ford";
public String getMake() {
return make;
public void setMake(String make) {
this.make = make;
and here's my jsp page:
<html>
<head>
<title>Using a JavaBean</title>
</head>
<body>
<h2>Using a JavaBean</h2>
<% com.wrox.cars.CarBean myCar = new com.wrox.cars.CarBean(); %>
I own a <%= myCar.getMake() %>
<% myCar.setMake("Ferrari"); %>
Now I own a <%= myCar.getMake() %>
</body>
</html>
I'm not new to java, just JSP. I just don't know why I can't get the jsp to locate the JavaBean class. I remember I used to have an older version of Tomcat and I recall not having any problems. It seems the Tomcat 4.XX is somewhat significantly different than previous versions. Perhaps I configured my Tomcat wrong? Help would be greatly appreciated. Thanks.

hi
i am not using Tomcat server but as i worked in JWS you have to import the bean class from jsp files.
so the first code in jsp file will be like this
<%@ page import = "CarBean">
becoz JWS cant automatically find the bean class we have to explicitly import bean.but i dont know if tomcat finds
bean or one have to import.
hope this will help u.
regards
manoj choudhury.

Similar Messages

  • Issue with JSPs with inner classes (bug)

    FYI:
    Turning on Versioning in the registry (Disable=0) JSPs with inner classes causes the following IllegalAccessException...
    This has been confirmed with SP3 and SP4 with our testing...
    14/Jan/2002 13:26:24:4] error: Exception: SERVLET-run_failed: Failed in running template: /NASApp/fortune/foo.jsp, java
    lang.IllegalAccessError: try to access class jsp.APPS.fortune.foo$foobar from class jsp.APPS.fortune.foo
    xception Stack Trace:
    ava.lang.IllegalAccessError: try to access class jsp.APPS.fortune.foo$foobar from class jsp.APPS.fortune.foo
    at jsp.APPS.fortune.foo._jspService(foo.java:78)
    at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown Source)
    at com.netscape.server.servlet.servletrunner.ServletRunner.callJSP(Unknown Source)
    at com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callJspCompiler(Unknown Source)
    at com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callUri(Unknown Source)
    at com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callUriRestrictOutput(Unknown Source)
    at com.netscape.server.servlet.platformhttp.PlatformRequestDispatcher.forward(Unknown Source)
    at com.netscape.server.servlet.jsp.JSPRunner.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown Source)
    at com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    Looking for work around....
    Cheers,
    Martin Gee

    I do not see why you would use two sorts.
    And what is the issue exactly by the way? Errors?
    So, the records before the Merge Join need to come sorted, to achieve this simply tick:
    Arthur My Blog

  • Errors in a program jsp with javabeans

    With the following program time.jsp from the book bigjava by
    horstmann, I get from tomcat 5.0 the following errors. Who helps me?
    My O.S. is win pro.
    Thanks
    Eugenia Mariani
    this is the program:
    time.jsp
    inside the folder
    C:\Programmi\Apache Software Foundation\Tomcat 5.0\webapps\bigjava
    <jsp:useBean id="formatter" class="TimeFormatterBean"/>
    <jsp:setProperty name="formatter" property="date" value="<%= new
    java.util.Date() %>"/>
    <html>
    <head>
    <title>Time JSP</title>
    </head>
    <body>
    <h1>Time JSP</h1>
    <p>The current time is:
    <jsp:getProperty name="formatter" property="time"/>
    </p>
    </body>
    </html>
    this is the program TimeFormatterBean.java with
    TimeFormatterBean.class
    inside the folder:
    C:\Programmi\Apache Software Foundation\Tomcat
    5.0\webapps\bigjava\WEB-INF\classes
    import java.text.DateFormat;
    import java.util.Date;
    This bean formats the time of day from a given date.
    public class TimeFormatterBean
    Initializes the formatter.
    public TimeFormatterBean()
    timeFormatter = DateFormat.getTimeInstance();
    Write-only date property.
    @param aDate the date to be formatted.
    public void setDate(Date aDate)
    theDate = aDate;
    Read-only time property.
    @return the formatted time
    public String getTime()
    String timeString = timeFormatter.format(theDate);
    return timeString;
    private DateFormat timeFormatter;
    private Date theDate;
    these are the errors fro TOMCAT 5.0
    HTTP Status 500 -
    type Exception report
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    description The server encountered an internal error () that prevented
    it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 1 in the jsp file: /time.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Programmi\Apache Software Foundation\Tomcat
    5.0\work\Catalina\localhost\bigjava\org\apache\jsp\time_jsp.java:42:
    cannot resolve symbol
    symbol : class TimeFormatterBean
    location: class org.apache.jsp.time_jsp
    TimeFormatterBean formatter = null;
    ^
    An error occurred at line: 1 in the jsp file: /time.jsp
    Generated servlet error:
    C:\Programmi\Apache Software Foundation\Tomcat
    5.0\work\Catalina\localhost\bigjava\org\apache\jsp\time_jsp.java:44:
    cannot resolve symbol
    symbol : class TimeFormatterBean
    location: class org.apache.jsp.time_jsp
    formatter = (TimeFormatterBean)
    jspxpage_context.getAttribute("formatter", PageContext.PAGE_SCOPE);
    ^
    An error occurred at line: 1 in the jsp file: /time.jsp
    Generated servlet error:
    C:\Programmi\Apache Software Foundation\Tomcat
    5.0\work\Catalina\localhost\bigjava\org\apache\jsp\time_jsp.java:46:
    cannot resolve symbol
    symbol : class TimeFormatterBean
    location: class org.apache.jsp.time_jsp
    formatter = new TimeFormatterBean();
    ^
    An error occurred at line: 10 in the jsp file: /time.jsp
    Generated servlet error:
    C:\Programmi\Apache Software Foundation\Tomcat
    5.0\work\Catalina\localhost\bigjava\org\apache\jsp\time_jsp.java:63:
    cannot resolve symbol
    symbol : class TimeFormatterBean
    location: class org.apache.jsp.time_jsp
    out.write(org.apache.jasper.runtime.JspRuntimeLibrary.toString((((Time
    FormatterBean)_jspx_page_context.findAttribute("formatter")).getTime()
    ^
    4 errors
    org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultError
    Handler.java:83)
    org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.
    java:306)
    org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:398)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:441)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:422)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.
    java:507)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
    java:274)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:29
    2)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    note The full stack trace of the root cause is available in the Apache
    Tomcat/5.0.24 logs.
    Apache Tomcat/5.0.24

    Cross Post
    http://forum.java.sun.com/thread.jsp?thread=526883&forum=45&message=2528346

  • Problem linking jsp with javabeans

    Hey guys,
    I am new at this jsp stuff, but have read a few threads as well as a few tutorials. however, i dont understand why i keep getting this error. any help would be appreciate it!
    i m currently running it off tomcat 4.1, and the hierarchy that i have currently is set like this:
    "xxx/build/array.jsp"
    "xxx/build/WEB-INF/classes/arraymap/javaBeans/ArraysBean.java"
    the content of my jsp is as follows:
    <%@ page import="arraymap.javaBeans.ArraysBean" %>
    <html>
    <head>
         you are in the array page!
    </head>
    <jsp:useBean id="test" class="arraymap.javaBeans.ArraysBean" scope="page"/>
    <body>
    <a href="index.html"> LOG OUT</a>
    <center>
    Please choose one of the following queries:
    </h3>
    </center>
    </body>
    </html>and my simple bean code:
    package arraymap.javaBeans;
    import java.util.*;
    import arraymap.*;
    public class ArraysBean {
        ArrayMapModMain a = ArrayMapModMain.instance();
        public Object[] getArrayTypes()
         return a.getArrayTypes();
    }but i get this error:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 6 in the jsp file: /cds_jsp/build/array.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\cds_jsp\build\array_jsp.java:7: package arraymap.javaBeans does not exist
    import arraymap.javaBeans.ArraysBean;
    ^
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\cds_jsp\build\array_jsp.java:46: package arraymap.javaBeans does not exist
    arraymap.javaBeans.ArraysBean test = null;
    ^
    An error occurred at line: 6 in the jsp file: /cds_jsp/build/array.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\cds_jsp\build\array_jsp.java:48: package arraymap.javaBeans does not exist
    test = (arraymap.javaBeans.ArraysBean) pageContext.getAttribute("test", PageContext.PAGE_SCOPE);
    ^
    An error occurred at line: 6 in the jsp file: /cds_jsp/build/array.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\cds_jsp\build\array_jsp.java:51: package arraymap.javaBeans does not exist
    test = (arraymap.javaBeans.ArraysBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "arraymap.javaBeans.ArraysBean");
    ^
    4 errors
    any idea on why i cant recognize the package? the file is on the tomcat server (the class file is physically there when i manually check it), and i couldnt figure out what i went wrong with either the jsp or hte beans. i have been stuck on this problem for several hours and it is painful sitting in a cube not knowing what is goin on. any help would be GREATLY appreciated! thanks in advance!
    kev

    I copied your files into my environment and it worked fine for me (I had to strip out the ArrayMapModMain stuff to get a compilation though), so it looks like an environment thing as opposed to an issue with your code.
    Possibilities include (shots in the dark):
    1.) The path it showed in the error messages
    "C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\cds_jsp\build\array_jsp.java"
    looks a little funny, mainly the underscore between localhost and cds_jsp. Maybe there's something wrong in your Tomcat config file (see #3).
    2.) Maybe your directory has a permissions issue. Is it readable? Likely not an issue as you're using windows, but it bites me all the time in linux.
    3.) I haven't used Tomcat in a while, but I'll bet it has a config file. Are you sure it's pointing to your WEB-INF/classes dir for your servlets?
    Sorry I can't be of more help.
    jengi

  • JSP with JavaBeans

    Hello,
    I'm trying to write my first page of JSP using a JavaBean.
    I've created a simple bean :
    package dalpkg;
    public class DalBean
    public DalBean()
    setName("DIMA");
    private String myName;
    public void setName(String name)
    this.myName=name;
    public String getName()
    return myName;
    }Now i've created a JSP :
    <jsp:useBean class="dalpkg.DalBean" id="info" scope="session"> 
    <html> 
    <head> 
    <title>Simple JSP Document</title> 
    </head> 
    <body> 
    Initial name is <%=info.getName()%><br> 
    <% info.setName("Adi"); %> 
    New name is <%=info.getName()%><br>
    </body> 
    </html>
    </jsp:useBean>I'm Getting this error : "/DIMA/hello.jsp(1,1) The value for the useBean class attribute dalpkg.DalBean is invalid"
    I couldn't find the solution any where.
    Where should I put the .Java file for it to work?
    Could this be the reason why this isnt working?

    Well thats wierd.. the class file looks ok.. starts just like you said CA FE BA BE.
    Recomiling didnt help..
    but this code works :
    package dalpkg;
    public class HelloWorld
    public void HelloWorld()
    public String ReturnHello()
    return "Hello";
    <jsp:useBean class="dalpkg.HelloWorld" id="info" scope="session"> 
    <html> 
    <head> 
    <title>Simple JSP Document</title> 
    </head> 
    <body> 
    Print Hello :  <%=info.ReturnHello()%><br> 
    </body> 
    </html>
    </jsp:useBean>Edited by: dimamah on Mar 6, 2009 4:43 PM

  • JSP with Bean Class

    Hi,
    i am using tomcat server, Where it is store Bean class file, and how to call bean class file in JSP
    Pls help me

    Thanks, that works when I do this from current dir (C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\servlets-example
    \WEB-INF\classes) :
    set CLASSPATH=.;%CLASSPATH%
    And I have to put the User.java file in the util directory that is located up one directory (C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\servlets-example
    \WEB-INF\classes\util).
    package util;
    import java.io.*;
    import java.text.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import util.User;But it still wont work from the num directory that I had in my original question. I tried setting my classpath to point to the num package:
    Set CLASSPATH=%CLASSPATH%;C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\jsp-examples\WEB-INF\classes\num
    and it gave me same error.
    Please advise or should I just live with the servlet calling the class in the util directory and forget about the num directory?

  • How to run jsp using javabean class in tomcat

    hello all,
    i have bean class placed in classes folder of tomcat and placed jsp and html in root directory. i am not able to run it , if i have do any setting in web.xml, pls let me know from u

    No XML required, but you must put the class into a package.
    Packages are folders with some files that identify whats in them, so you will end up with something like
    yourWebbApp/classes/yourPackage/yourClass

  • First Try and JSP with JavaBeans

    Hi:
    I've installed Tomcat 3.3.2, and have made no configuration changes.
    I'm trying to create a JSP that uses a JavaBean. This is my first attempt, and there's nothing exciting about my try.
    Below is the JavaBean, that compiles just fine:
    import java.io.Serializable;
    import java.util.*;
    import java.text.*;
    public class today implements Serializable {
    public String getToday() {
    Date df = new Date();
    String today = DateFormat.getDateInstance().format(df);
    return today;
    The class for this .java file is stored in webapps\exampiles\web-inf\classes
    Here is the JSP file:
    <%@ page language="java" import="today" %>
    <jsp:useBean id="jsp" class="today" scope="session" /></jsp:useBean>
    <html><body>
    Today is: //<%= getToday() %>
    </body></html>
    This is stored in webapps\examples\jsp.
    When I try to run the JSP, I receive the following:
    Method getToday() not found in class jsp.today_3.
    out.print( getToday() );
    I have tried many things, but have not succeeded.
    Any suggestions? Thanks.

    <%@ page language="java" import="today" %>
    <jsp:useBean id="jsp" class="today" scope="session"
    /></jsp:useBean>
    <html><body>
    Today is: //<%= getToday() %>
    </body></html>
    }You're not referencing your bean instance when you're trying to access the getToday() method in the code above. It should be jsp.getToday()

  • JSP with Java Class

    How to run *.class in JSP. For example, the demo class, Clock.class is run in html format, Can I run the Clock.class in JSP format?

    Please notice,
    The applet has a graphical context which can draw lines, circules and painting all the object including the background. Now the applet can be load from a jsp page also as if it resides on a html page. Now when you want to use the class Clock.class as a bean inside the jsp page, it has to keep the following definition ( you can't get the graphical context from the applet as a class method in a bean.
    The JavaBeans is realy nothing more than a class that maintains some data ( called properties) and follows certain coding convention ( getXX() setXX()) and it has to implements the Serilizable interface and provide no argument for the constructor.
    As a result when you want to use the jsp tag for Bean like <jsp:useBean id="MyClock" class="Clock.class" /> keep in mind that the Clock.class is directly located in /WEB-INFO/classes/ in your web application directory.
    Now your purpose will be directly oriented to get or set some value for the clock like to get the current time or to set different time zone or to calculate the time in Kurdistan if you are in US etc..
    So the Clock class has become a source of hidden business logic operation exposed by methods only.
    The graphical animation etc.. is not related to Bean at all event though the applet implements the Seriazable interface

  • Import a compiled .class or include a .jsp with a class code inside?

    which is better and faster, to import a class file or a jsp file that has a class code inside?

    I apologize but this is a clarification of this problem. We are having a problem dynamically reloading java classes that are referenced by jsp's and servlets. The problem DOES NOT exist when trying to reload jsps or servlets themselves. We would like to reload these classes without having to restart the processes. Any thoughts would be helpful. Thanks.

  • How to Upload in Servlet or JSP with JavaBean?

    Anybody used to be familiar with these techs?I want to implement a function of upload files.Can you help me with some suggestions?

    Hi,
    This might help you
    read the file and upload to database
    Read that file using java.io.
    File f= new File("give the file name");
    FileInputStream fis= new FileInputStream(f);
    byte[] data= null;
    Vector tempVector = new Vector();
    int tempInt=fis.read();
    while(tempInt!=-1){
    tempVector.add(new Byte((byte)tempInt));
    tempInt=fis.read();
    data= new byte[tempVector.size()];
    for(int k=0;k<tempVector.size();k++){
    data[k]=new Byte(tempVector.get(k).toString()).byteValue();
    System.out.println("The byte[] data is : " +data);
    stmt= conn.prepareStatement("insert into <tableName>(blobValue, key) values ( ? , ? ) " );
    stmt.setObject(1,data);
    stmt.setString(2,"filename");
    stmt.executeUpdate();

  • SetProperty in JSP with JavaBeans

    Why do they always talk about the following code in JSP's for getting or setting property's in a JavaBean.
    <jsp:setProperty name="dbb" property="dbDriver" value="<%= set.getDbDriver()%>" />
    Because it is also possible by just calling this "dbb.setDbdriver(set.getDbDriver())" setting-methode.
    Is there also a specific code to call normal methods, no set or get method, of a JavaBean in a JSP
    for something like "dbb.execSQL(String sql)".

    One of the reasons for JSPs existence is to separate the presentation logic from the business and control logic. The rationale is that the skills required to design a user interface are different than programming skills, so creators and maintainers of JSPs may not be Java programmers. In this scenario, there is no Java scripting in a JSP. All data and business logic is encapsulated in beans and/or custom tags accessed from the page. That's why the useBean, getProperty and setProperty tags exist. Check out the web for info on the Model, View, Controller framework.
    There are no built-in JSP tags to call bean methods that require arguments or do not have get/set methods. Custom tags could do this job if necessary.
    Whether you follow this approach is your call and, among other things, depends on the skills of those who will be maintaining your JSPs in the future.

  • The deployment problem in JSP using JavaBean

    Hi there,
    I followed the descriptions in Writing Enterprise Applications with
    Java 2 SDK, Enterprise Edition tutorial to build a set of programs to run JSP with JavaBean, and I also followed the steps in creating new WAR file, but some how it wouldn't work after I deployed them. I run the JSP in IE and got a message like this:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 20 in the jsp file: /1bonus.jsp
    Generated servlet error:
    c:\j2sdkee1.3.1\repository\orbit\web\JSPRoot\$1bonus$jsp.java:63: Class org.apache.jsp.JBonusBean not found.
    JBonusBean jbonus = null;
    ^
    I used the deploytool to create the WAR file, and after I added the 1bonus.jsp, I also added JBonusBean into the WAR file. I found 1bonus.jsp was added into the WAR file, but there's no JBonusBean appeared under the WAR file.
    Could you please tell me is there anything wrong?
    Thanks for your time.
    Regards,
    Eric

    I think you have not imported 'BonusBean' in your jsp. Code this line in your jsp at the top.
    <%@page import="BonusBean" %>
    Sudha

  • Help with jsp and javaBean in eclipse/Tomcat

    Hi,
    I am new to JSP and JavaBean. I am going through tutorial for a jsp page that uses a javaBean. I am using eclipse to create jsp page and the java bean.
    My eclipse project "Date" has five package as under:-
    1. Deployment Descriptor
    2. Java Resources: src
    3. build
    4. WebContent
    I have my data.jsp page in WebContent/WEB-INF/ folder. When I just run date.jsp in a browser as: http://localhost:8080/Date/date.jsp, it gets launched into the browser correctly. But when I add a JavaBean "TimeFormatterBean.java" in the Java Resources:src folder and use it in date.jsp page, I get errors as under:-
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 5 in the jsp file: /date.jsp
    TimeFormatterBean cannot be resolved to a type
    2: pageEncoding="ISO-8859-1"%>
    3: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    4:
    5: <jsp:useBean id="formatter" class="TimeFormatterBean"/>
    6:
    7: <html>
    8: <head>
    The data.jsp page is as under:-
    <jsp:useBean id="formatter" class="TimeFormatterBean"/>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
         <h1> Date JSP </h1>
         <p> The  current time is:
         <%= new java.util.Date() %>
         <jsp:getProperty name="formatter" property="name"/>
         </p>
    </body>
    </html>I can see "TimeFormatterBean.class" in build/classes folder.
    If anyone could please help me out with this, it would be very helpful
    Thanks a lot!

    You probably should place TimeFormatterBean inside a package, or maybe you could try importing it , even if it�s in the default package, with something like this <%@ page import="TimeFormatterBean" %> at the top

  • Problem with JavaBeans in JSP.IT'S URGENT!!!

    Hi, i have problems with JavaBeans in JSP.
    In a jsp file( locating in ROOT directory of tomcat 4.0.6 :jakarta-tomcat-4.0.6\webapps\root ) i have this code:
    <jsp:useBean id="paramBean" class="licentza.ParamBean" />
    <jsp:setProperty name="paramBean"
    property="nume"
              value='<%= request.getParameter("numeUser") %>' />
    where ParamBean it's a "bean" class locating in jakarta-tomcat-4.0.6\webapps\examples\web-inf\classes\licentza (licentza is the package i'm using).
    And i get this error:
    Generated servlet error:
    D:\jakarta-tomcat-4.0.6\work\Standalone\localhost\_\dora\intrare2$jsp.java:67: Class licentza.ParamBean not found.
    ParamBean paramBean = null;
    What is the problem?Thank you.

    Hi,
    Put the class file or the package under :jakarta-tomcat-4.0.6\webapps\root\WEB-INF\classes.
    Rajesh

Maybe you are looking for

  • Im having problems with logic pro 9 working with native instruments it always quits unexpectedly

    Interval Since Last Panic Report:  79051 sec Panics Since Last Report:          6 Anonymous UUID:                    84387C31-EAF1-E5E2-8362-4FA69C1C8FCD Mon Mar 11 19:34:04 2013 panic(cpu 1 caller 0xffffff80062b7bd5): Kernel trap at 0xffffff80066520

  • Error while connecting as sysdba

    while login as sysdba getting an error as SQL> conn / as sysdba ERROR: ORA-12560: TNS:protocol adapter error Warning: You are no longer connected to ORACLE.

  • Is this legal?

    Hi I am wondering if it is legal to rip music off of a friend's ipod. An example: Using ipod rip to transfer his music to my itunes library for personal use. Thanks for any help!

  • AppleScript's "try" command gives up too easily.

    I want to do some conditional branching using "try." For the record, there is no user on my computer named "Batman." I want the script to continue even if it doesn't find a user this time. Here's my code, in Snow Leopard 10.6.8: try           do shel

  • ThinkPad 10 neues Betriebssystem vom Stick installieren!

    Hallo, ich habe folgendes Problem. Ich möchte auf einem ThinkPad 10 mit der 4GB Variante ein anderes Betriebssystem installieren. Zurzeit ist dort die Win 8.1 Pro 32bit drauf es soll die Win 8.1 Pro 64bit drauf. Ich habe nun einen USB-Stick erstellt