Using beans with jsp without any ide

Hi
i am using tomcat 6.0 and jdk 1.6u17
i am trying to use a bean to connect to MySql db using jsp page but i keep getting the error :
org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to load class for JSP
i read about it and i think that it is unable to locate my bean class file
here is the beanDb.java
package beans;
import java.sql.*;
import java.io.*;
public class beanDb
     private Connection dbCon;
     String path="jdbc:mysql://localhost:3306/dbname?user=username&password=pwd";
     String dbDriver="com.mysql.jdbc.Driver";
     public beanDb()
          super();
     public boolean connect() throws ClassNotFoundException,SQLException
Class.forName(dbDriver);
dbCon = DriverManager.getConnection(path);
return true;
     public void close() throws SQLException
     dbCon.close();
     public void path()
     public ResultSet execSQL(String sql) throws SQLException
          Statement s = dbCon.createStatement();
ResultSet r = s.executeQuery(sql);
return (r == null) ? null : r;
     public int updateSQL(String sql) throws SQLException
     Statement s = dbCon.createStatement();
int r = s.executeUpdate(sql);
return (r == 0) ? 0 : r;
and the jsptest.jsp code is :
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<jsp:useBean id="beanDb" class="beanDb" scope="request" />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
<%
               out.println(beanDb.connect());
               Connection connection;
               Statement stmt = null;
               ResultSet rs = null;
%>
</body>
</html>
the location of these files are :
C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ROOT\myApp\WEB-INF\classes\beans\beanDb.java
C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ROOT\myApp\jsptest.jsp
Please suggest a solution..
Thanks

here is the changed code but still the same error:
package beans;
import java.sql.;
import java.io.;
public class beanDb
private Connection dbCon;
String path="jdbc:mysql://localhost:3306/dbname?user=username&password=pwd";
String dbDriver="com.mysql.jdbc.Driver";
public beanDb()
super();
public boolean connect() throws ClassNotFoundException,SQLException
Class.forName(dbDriver);
dbCon = DriverManager.getConnection(path);
return true;
public void close() throws SQLException
dbCon.close();
public void path()
public ResultSet execSQL(String sql) throws SQLException
Statement s = dbCon.createStatement();
ResultSet r = s.executeQuery(sql);
return (r == null) ? null : r;
public int updateSQL(String sql) throws SQLException
Statement s = dbCon.createStatement();
int r = s.executeUpdate(sql);
return (r == 0) ? 0 : r;
and the jsptest.jsp code is :
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<jsp:useBean id="beanDb" class="beanDb" scope="request" />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
<%
out.println(beanDb.connect());
%>
</body>
</html>
the location of these files are :
C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\myApp\WEB-INF\classes\beans\beanDb.java
C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\myApp\jsptest.jsp

Similar Messages

  • Using beans with jsp

    Hi
    i am using tomcat 6.0 and jdk 1.6u17
    i am trying to use a bean to connect to MySql db using jsp page but i keep getting the error :
    org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to load class for JSP
    i read about it and i think that it is unable to locate my bean class file
    here is the beanDb.java
    package beans;
    import java.sql.;
    import java.io.;
    public class beanDb
    private Connection dbCon;
    String path="jdbc:mysql://localhost:3306/dbname?user=username&password=pwd";
    String dbDriver="com.mysql.jdbc.Driver";
    public beanDb()
    super();
    public boolean connect() throws ClassNotFoundException,SQLException
    Class.forName(dbDriver);
    dbCon = DriverManager.getConnection(path);
    return true;
    public void close() throws SQLException
    dbCon.close();
    public void path()
    public ResultSet execSQL(String sql) throws SQLException
    Statement s = dbCon.createStatement();
    ResultSet r = s.executeQuery(sql);
    return (r == null) ? null : r;
    public int updateSQL(String sql) throws SQLException
    Statement s = dbCon.createStatement();
    int r = s.executeUpdate(sql);
    return (r == 0) ? 0 : r;
    and the jsptest.jsp code is :
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <jsp:useBean id="beanDb" class="beanDb" scope="request" />
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Untitled Document</title>
    </head>
    <body>
    <%
    out.println(beanDb.connect());
    %>
    </body>
    </html>
    the location of these files are :
    C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\myApp\WEB-INF\classes\beans\beanDb.java
    C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\myApp\jsptest.jsp
    Please suggest a solution..
    Thanks

    http://forums.sun.com/thread.jspa?threadID=5423314

  • Help me!! How to use JavaScript with JSP ??

    I am using JDeveloper and I created a screen in JSP which uses a bean for database connectivity and retriving info onto the page.
    The page has a ListBox where list items are populated from the database.My requirement is
    whenever the list is changed the page shuold be refreshed with the selected item info.
    I tried to use 'JavaScript' for triggering the event with 'onChange' event of the ListBox.But the event is not getting invoked. I think JavaScript is not working with JSP.
    Please help me with how to Use javaScript with JSP or any other alternative where I can meet my requirement.
    I have one more question...I have gone through the JSP samples in OTN and I am trying do download the sample 'Travel servlet' which show list of countries...etc
    I have also gone through the 'readme' but I don't know how to extract .jar file.
    I would be great if you could help me in this.
    Thanks!!
    Geeta
    null

    We have a similar need. We have used Cold Fusion to display data from Our Oracle Database. We have a simple SElect Box in HTML populated with the oracle data. When someone selects say the State of Pennsylvania. then we have an On change event that runs a Javascript to go get all the cities in Pennsylvania.
    Proble we are having is that inorder for the Javascript to work , we currently have to send all the valid data.
    Do you know of any way to dynamically query the the Oracle database in Javascript

  • Using java bean with jsp

    hello friends,
    i'm new to jsp. i want to create an html form that accepts username and a value from four radio buttons and display back the entered name and checked radio button's value using java bean.
    i use the <jsp:setProperty id="" property="*"> method. i don't know how to access the radio buttons value from the html.
    also when i use an additional field other than username the jsp page is showing error.
    Please give me the correct method to use java bean with jsp in this circumstance.
    thank you.

    thank you, but i have a problem left. the case is like this.
    i got the jsp and bean worked fine when i have a sinle input text field.
    but when i added a second text field i recieved the following error.
    javax.servlet.ServletException: basket.newbean.getUserPass()Ljava/lang/String;
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
         org.apache.jsp.newform.process_jsp._jspService(process_jsp.java:69)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    where userPass is the new form element. I have made the subsequent chanes in my bean program and jsp file.
    pls hlp.

  • I am trying to use automator to open a safari popup window that will automatically log me into whatever account and I attempted to type up an applescript that utilized the "System Events" function with no avail, any ideas?

    I am trying to use automator to open a safari popup window that will automatically log me into whatever account and I attempted to type up an applescript that utilized the "System Events" function with no avail, any ideas?

    Hi
    In iMovie'11 (version 9.0.x)
    on top menu row - Apple/iMovie/File/Edit/Cut (Can vary dep. on language - in Swedish Apple/iMovie/Arkiv/Redigera/Klipp . . . )
    down Cut menu - Slow playback/Raspid Playback/Re-play in Slow Motion and onvards
    Here one can select the Pre-Set speeds
    Are you familiar with getting 'inspector' to run?
    No - but I guess that Double Click on clip/sequense or ctrl-Click on it might open it.
    Yours Bengt W

  • HT201441 I have a used ipad mini.  I did a reset on it and I am trying to set it back up, but it is still tied to last users iTunes ID and will not let me set it up with mine.  Any ideas.  I tried setting it back to factory defaults with usb cable, but st

    I have a used ipad mini.  I did a reset on it and I am trying to set it back up, but it is still tied to last users iTunes ID and will not let me set it up with mine.  Any ideas.  I tried setting it back to factory defaults with usb cable, but still no go.  How do I activate ipad mini with my iTunes ID.

    delete the email account and try again

  • All of a sudden my MBP will not load Facebook using Safari. Loads ok with Firefox. Any ideas?

    All of a sudden my MBP will not load Facebook using Safari. Loads ok with Firefox. Any ideas?

    Hey aj5c,
    Let's see if resetting Safari helps the issue:
    Safari 6 (OS X Mountain Lion): Reset Safari
    http://support.apple.com/kb/PH11914
    For best results, make sure all of the options are checked.
    Thanks,
    Matt M.

  • My iphone 5c has stopped synching with my pc using calender thru microsoft outlook, any ideas on how I can get my iphone to synch with my calender on my pc in outlook again

    my iphone 5c has stopped synching with my pc using calender thru microsoft outlook, any ideas on how I can get my iphone to synch with my calender on my pc in outlook again

    Hello leighfromgold coast,
    Thanks for using Apple Support Communities.
    If you're having issues with syncing your Outlook calendar with your iPhone, then please follow the troubleshooting in the article below.
    Troubleshooting Sync Services on Windows with Microsoft Outlook 2003, Outlook 2007, or Outlook 2010
    Cheers,
    Alex H.

  • I try to sign with my apple ID and it keeps telling me to turn cookies on and they are already on then it tells me that my new id has not been used in ITunes yet. Any ideas?

    I try to sign with my apple ID and it keeps telling me to turn cookies on and they are already on then it tells me that my new id has not been used in ITunes yet. Any ideas?

    Log into your account and review/verify your payment method. On the iPod go to Settings>iTunes and App Stores>Apple ID>View Apple ID.

  • I upgraded my 3rd gen iTouch to iOS 5.1.1 and now its speed to repond is slower and the battery goes flat quicker than before the upgrade. Skype, Sky iCloud and other apps are turned off (I think). Has anybody else suffered with this? Any ideas?

    I upgraded my 3rd gen iTouch to iOS 5.1.1 and now its speed to repond is slower and the battery goes flat quicker than before the upgrade. Skype, Sky iCloud and other apps are turned off (I think). Has anybody else suffered with this? Any ideas?

    Purplehiddledog wrote:
    I do backup with iCloud.  I can't wait until the new iMac is available so that I can once again have my files in more than 1 location without needing to rely solely on the cloud. 
    I also rely on iTunes and my MacBook and Time Machine as well as backing up to iCloud. I know many users know have gone totally PC free, but I chose to use iCloud merely as my third backup.
    I assume that the restore would result in my ability to open Pages and Numbers and fix the problem with deleting apps, but this would also mean that if my Numbers documents still exist solely within the app and are just not on iCloud for some reason that they would be gone forever.  Is that right?
    In a word, yes. In a little more detail.... When you restore from an iCloud backup, you must erase the device and start all over again. There is no other way to access the backup in iCloud without erasing the device. Consequently, you are starting all over again. Therefore, it would also be my assumption that Pages and Numbers will work again and that the deleting apps issues would be fixed as well.
    If the documents are not in the backup, and you do not have a backup elsewhere, the documents could be gone forever.

  • The Bluetooth low energy protocol is not backward compatible with classic Bluetooth protocol. My iPhone 4s can not find my sonny in-dash player. However my iPhone 3GS does it. Very disappointed with this. Any idea how it can be fixed???

    The Bluetooth low energy protocol is not backward compatible with classic Bluetooth protocol.
    My iPhone 4s can not find my sonny in-dash player. However my iPhone 3GS does it. Very disappointed with this.
    Any idea how it can be fixed??????

    Hello,
    You are correct, Blue tooth low engergy, BTLE.(only) devices are not backward compatible with Classic bluetooth and cannot connect.
    However the Apple 4S and above have Bluetooth 4.0 support.. Hardware wise it has bothClassic Bluetooth, like the 3GS, as well as Bluetooth Low Energy.  There is no good reason why your 4s cannot communicate to your Sony in-dash player using the Classic bluetooth that resides in the 4S.
    I know that this does not answer the why it does not work, but it should work. Do you have to somehow re-pair the new phone up to the player?  Not  knowing the model of the Sony it is hard to investigate.
    And I hate to ask but are you sure that the Bluetooth radio is on in the phone?
    JT

  • How do I use my wireless Led TV as a second monitor using my home network without any cables? Both of them are connected to home network

    How do I use my wireless Led TV as a second monitor to my mac book pro using my home network without any cables? Both of them are connected to home network

    Having a gateway there is not going to be a problem. We just need to configure the Time Capsule correctly to work with the 2Wire.
    You will need one ethernet cable to connect the 2Wire to the Time Capsule and a second ethernet cable to temporarily connect your computer to the Time Capsule so that it can be configured.
    The 2Wire you have now should already be broadcasting a wireless network, so once you have the Time Capsule setup, you will actually have two wireless networks there.
    Here's how to configure the Time Capsule to work with the 2Wire:
    Connect an ethernet cable from one of the LAN <-> ports on the 2Wire to the WAN (circle icon) port on the Time Capsule.
    Connect another ethernet cable temporarily from your computer to one of the LAN <-> ports on the Time Capsule
    Open Hard Drive > Applications > Utilities > AirPort Utility
    Click Manual Setup
    Click the Base Station tab below the row of icons to assign a name for the Time Capsule, a device password (write this down) and adjust time zone settings
    Click the Wireless tab below the row of icons
    Wireless Mode....Create a wireless network
    Wireless Network Name....Your choice
    Radio Mode....Automatic
    Channel...Automatic
    Wireless Security...WPA/WPA2 Personal
    Wireless Password....Your choice (write this down)
    Check mark next to....Remember password in keychain
    Click the Internet icon
    At the bottom, change the setting for Connection Sharing to "Off (Bridge Mode)"
    Click Update at the lower right and the Time Capsule will restart after 20-25 seconds and you should get the green light.
    You should now be able to connect to your Time Capsule wireless network.
    I'm not clear on whether you have tried to setup the Time Capsule to backup your computer. Post back if you need some info on that. We may need to start another thread for that as that will be a different subject.

  • I am getting a error IO when trying to upload multiple images within wordpress using the flash uploader. I do not get the error when uploading using explorer. The error only appears if I try uploading using firefox....any ideas?

    I am getting a error IO when trying to upload multiple images within wordpress using the flash uploader. I do not get the error when uploading using explorer. The error only appears if I try uploading using firefox....any ideas?

    Logged the call with SAP who directed me to 'Define settings for attachments' in IMG and setting the 'Deactivate Java Applet' & 'Deactivate Attachment versioning' checkboxes - problem solved.

  • I opened a file on my desktop that I don't remember putting there.  It turned out to be a keychain certificate from a client of ours.  Does this mean that they were spying on me?  What is the deal with that?  Any ideas?

    I opened a file on my desktop that I don't remember putting there. We use many photos and I thought it was a photo file I was looking for. It turned out to be a keychain certificate from a client of ours.  Does this mean that they were spying on me?  What is the deal with that?  Any ideas?

    Interesting tid bit.  I created an AAC of the original file, deleted the original MP3 from my library and also deleted the Clean matched track from the icloud.
    Result is that it matched with the explicit version of Mrs. Officer this time.
    What I am curious about is which songs this is happening for. I've went thru a few batched of about 500 songs at a time and redownloaded in 256k for many tracks. Sadly we don't have people to bring this to our attention and I have so much music that it's impossible to go thru every song to make sure I am getting the right version.

  • Error while using Beans in JSP

    I am using netbeans to develop the applications and am using tomcat version (jakarta-tomcat-4.1.18).
    When I execute the following program i get the below mentioned error::
    StringBean.java
    package test;
    import java.beans.*;
    public class StringBean {
    private String message = "No message SPECIFIED";
    public String getMessage() {
    return message;
    public void setMessage(String message) {
    this.message = message;
    StringBean.jsp
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE>Using JavaBeans with JSP </TITLE>
    <LINK REL=STYLESHEET HREF="JSP-Styles.css" TYPE="text/css" >
    </HEAD>
    <body
    <jsp:useBean id = "SB" class = "test.StringBean" />
    initial value is : <jsp:getProperty name = "SB" property= "message"/>
    <jsp:setProperty name= "SB" property = "message" value= "this the message after the change"/>
    final value is :<jsp:getProperty name = "SB" property= "message"/>
    </body>
    </HTML>
    javax.servlet.ServletException: test/StringBean
    at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.service(IDEJspServlet.java:349)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
         at java.lang.Thread.run(Thread.java:536)
    Root Cause
    java.lang.NoClassDefFoundError: test/StringBean
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
         at java.lang.Class.getConstructor0(Class.java:1762)
         at java.lang.Class.newInstance0(Class.java:276)
         at java.lang.Class.newInstance(Class.java:259)
    at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet$JspServletWrapper.load(IDEJspServlet.java:106)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet$JspServletWrapper.loadIfNecessary(IDEJspServlet.java:150)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet$JspServletWrapper.service(IDEJspServlet.java:160)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.serviceJspFile(IDEJspServlet.java:246)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.service(IDEJspServlet.java:339)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
         at java.lang.Thread.run(Thread.java:536)

    Ok The class isn't found, so your classpath settings of netbeans (if you are using the run function in netbeans) isn't set.
    and if you aren't using netbeans to run it, then the class isn't in the webapp/WEB-INF/classes
    good luck

Maybe you are looking for

  • How can i change the color of the text on a button in Roll Over or Click state (Cs5.5)

    Hello, Here is the problematic: 1° How can i change the color of the text on a button in Roll Over or Click state (Cs5.5) - I've many button in a doc im creating - the color of the buttons is white with black stoke & black text - in roll over state i

  • CSS problem with the clear property

    This is my actual page http://www.martcol.co.uk/abba/ and I want to swap the paragraphs around. This is what I come up with http://www.martcol.co.uk/abba/test/test01.php I reckon I am getting muddle with the whole clearing the float thing. Many thank

  • TS3988 Cannot use iCloud on my iPhone

    I am trying to use iCloud on my iPhone but somehow it has an old email address as my Apple id and it will not let me change it.  I have no idea how it got that old email address, except it was my Apple id many years ago.  I have tried to delete iClou

  • Real-time data acquisition for HR datasources

    Dear Experts, I have a couple of questions on real-time data acquisition... a) Can you tell me if any standard HR datasources support real-time data acquisition? b) Can we apply real-time data acquisition for generic datasources? If yes, is there any

  • Contacts Lost after IOS6 upg appearing in Outlook 2010 but not in iPhone

    On Friday before upgrading my iphone 4, I had to use one of the contacts in the address book, then today, 1 day after upgrade I looked for the recent list and found that the contact had 'gone', then after looking around in the address book/contacts l