Why my JSP can't get any data from database(Ms ACCESS)

The path of JSP and bean file are correct in Tomcat .Also,it has no syntax error on Jbuilder7.0(can get and put data to database successfully) and can display on IE,but it cannot communciate with Database in Tomcat .Can someone help me to solve this problem??(ergent)

I'm having a similiar problem
well, mine is like this....
I'm using the MySQL in my project, so I downloaded the MySQL Java connector and placed the .jar file into
WEB-INF/lib
When I did the connection in Servlet scripts, it works
But now i'm trying to make another one in JSP page, let's say i'm using the JSTL and the code is like this
<sql:setDataSource driver="com.mysql.jdbc.Driver" url="jdbc:mysql://127.0.0.1:3306/helpdesk"
     user="root" password="" var="hdesk" />
<sql:query var="tickets" dataSource="${hdesk}">
     SELECT * FROM tblTicket
</sql:query>
A connection error appears:
Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver"
Please help, thanks......

Similar Messages

  • How can i get the data from database & add them as a link

    Hi,
    how can i get a data from a database(DB2) and that data will be having a file so i should make them as a link.i tried it in jsp .
    <%
    Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");
    Class.forName("COM.ibm.db2.jdbc.net.DB2Driver");     
    response.setContentType("text/html");
    Connection conn = null;
    conn = DriverManager.getConnection("jdbc:db2:spintran");
    Statement stmt = conn.createStatement();
    stmt.executeQuery("set current schema tut");
    ResultSet rs = stmt.executeQuery("select * from tutorial");     
    %>
    Type Of the Category : &nbsp&nbsp&nbsp
    <%
         while (rs.next())
         String desc = rs.getString(1);     
         out.println(desc);
    %>
         <A HREF = "<%=desc%>"><%=desc%> </A>
         <%
         %>
    but it is not working.how can i link.
    thank you.

    what is desc? is it the file name ? whats the data type of desc in db? INFILE?
    if desc is just the name of the file, then make sure that such a file exists in the proper folder.only then the link works..
    that is, if desc is 'a.jpg' then a.jpg should be existing in the same folder as your html is.

  • HT1414 if i didnt back up before upgrading the OS, can i get any data back after my last restore date?

    if i didnt back up before upgrading the OS, can i get any data back after my last restore date?

    thanks - thought as much my own fault then - should have backed up before upgrading, you just dont expect it to affect the files stored, rather just the OS itself (bit like a PC if the same happened)

  • Just upgraded to 10.6.8.  Had to upgrade Adobe flash player.  Now can't get any sound from websites!

    Just upgraded to 10.6.8.  Had to upgrade Adobe flash player.  Now can't get any sound from websites.  Advice please!

    Check System Preferences > Flash Player > Advanced
    Click:  Delete All under Browsing Data and Settings
    Then empty the Safari cache.
    From your Safari menu bar click Safari > Preferences then select the Advanced tab.
    Select:  Show develop menu in menu bar
    Now click Develop > Empty Caches
    Quit and relaunch Safari then try Flash on a website for sound.

  • How Can we get the data from Non-SAP to SAP in WebDynpro

    Hi,
    I hope u understand my query, How can we get the data from Non-SAP to SAP thru WebDynpro Programming.
    Help out with the steps for getting the data or procedure.
    Regards,
    Mutyapu

    You can expose the APIs in the Non-SAP backend as Web Services, and consume them in SAP by creating an Enterprise Proxy. Then these can be called just like normal class methods from Web Dynpro.
    Regards,
    Nithya

  • How to change read only folders into normal ones...i can't get any filed from my harddrive

    how to change read only folders into normal ones...i can't get any filed from my hard drive..it shows read only

    Which HDD are you referring to, an external one, or the internal SSD?
    If external, which format is it in?

  • How can I get my data from a old iPad to a new iPad using iCloud and not iTunes

    How can I get my data from a old iPad to a new iPad using iCloud and not iTunes

    Restore from the iCloud backup - assuming that you were backing up to iCloud in the first place. If you weren't using iCloud for backup - then you are out of luck.
    If you were backing up to iCloud - you have to erase all contents on the iPad in Settings>General>Reset>Erase all content and settings - before you can restore from the iCloud backup.
    Read this article before you do anything else
    http://gigaom.com/apple/ios-101-set-up-and-restore-from-icloud-backup/

  • How can i get my data from an application that deleted from my iphone

    how can i get my data from an application that deleted from my iphone????

    Which application?
    With many applications, when deleting the app the app's data is deleted with it.

  • LR5 won't print, it send print job starts to spool then just dissaperes from the print cue? my printer works fine with other software. I can't get any help from Adobe support can anyone help???

    Hi i need help! I can't print any jobs, LR5 starts to print then the job disappears from the print cue. I can ! print from other application no problem.
    I can't get any support from Adobe. Any ideas would be great.

    Hi,
    Please try the following steps:
    Open the file in Adobe Reader
    Click on File menu - Print
    In the Print Dialog box, select the Printer and then select Advanced button
    In the Advanced print setup, Please check 'Print as Image' (See the Screen shot)
    Click Ok and then Click Print.
    Let me know if this solves the problem.
    ~ Aditya Kalania

  • My UR12 Steinberg interface is recognized by Yosemite but I can't get any output from the device, does anyone know how to fix this problem? Thanks in advance

    My UR12 Steinberg interface is recognized by Yosemite but I can't get any output from the device, does anyone know how to fix this problem? Thanks in advance

    Apparently it's related to the Firefox plug in.
    This isn't exactly a solution but more of a way to avoid opening PDFs with Firefox's plug in.
    1. Highlight "Tools" from the Menu Bar in the top left of the screen (or click "Options" if using the Firefox Compact Menu)
    2. Select to "Options
    3. Select "Applications"
    4. Look for "Adobe Acrobat Document" under Content Type and to the right under Action select "Use Adobe Reader (default)" instead of the using Adobe Acrobat in Firefox
    5. Open a test PDF. It should open in it's own window now.
    Again, not a complete solution but something that'll at least let you scroll with PDFs open.
    More info here: http://forums.mozillazine.org/viewtopic.php?f=38&t=2171033

  • Recently, I can't get any sound from my game applications.  Sound works fine with video, streaming, etc, but not my game applications.  I've tried powering down and re-booting, but the sound does not return.  Can anyone help me?

    Recently, I can't get any sound from my game applications.  Sound works fine with video, streaming, etc, but not my game applications.  I've tried powering down and re-booting, but the sound does not return.  Can anyone help me?

    Have you got notifications muted ? Only notifications (including games) get muted, so the Music and Videos apps, and headphones, still get sound.
    Depending on what you've got Settings > General > Use Side Switch To set to (mute or rotation lock), then you can mute notifications by the switch on the right hand side of the iPad above the volume switch, or via control centre : swipe up from the bottom edge of the screen and it's the right-most of the 5 icons in the middle of it (if the icon is white then it's 'on', tap it to turn it grey and 'off'). The function that isn't on the side switch is set via control centre instead : http://support.apple.com/kb/HT4085

  • I can't get any sound from ITunes. The computer's internal speakers are fine (they play utube sound, for example). And the sound bar on itunes is all the way to the right. Still no sound from the music library. Any insights?

    I can't get any sound from my ITunes library. The IMac is set to internal speakers, the volume bar on ITunes itself is all the way to the right, there seems to be no problem with the speakers themselves (they play sound from internet videos, for example), but I can't play music from the ITunes library on the IMac. Please help!

    Is it possible that you have iTunes set to send audio through AirPlay to an AirPort Express, Apple TV, or other AirPlay device (which is itself not turned up so you can hear it)?

  • Can i get GPS data from my Iphon 4S?

    can i get GPS data from my Iphone 4S?

    There are several apps that will give you lat, long and elevation.  GPS Ally and GPS Recorder are two.

  • Can i get my Data from iPhone to iPad

    Can I get my data from iPhone or iPod to iPad?

    See:
    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device

  • I can't get any sounds from my ipod, only through earphones

    I can't get any sounds from my itouch. I can only hear through my headphones. I completely reset my itouch and still nothing

    - Try cleaning out/blowing out the headphone jack. Try inserting/removing the plug a dozen times or so. There is a little switch in the headphone jack that disconnects the speaker when the headphone jack is inserted.
    Try the following to rule out a software problem. I do not know what you meant by "completely reset my itouch".
    - Reset the iOS device. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iOS device.
    - Make an appointment at the Genius Bar of an Apple store. Seems you have a bad headphone jack or other hardware problem.
    Apple Retail Store - Genius Bar

Maybe you are looking for

  • Error message appears when linking one project to another.

    I keep having problems linking a captivate project to another project.  The projects are saved as .cp files stored in the same folder as all of my other Captivate files.  I did publish them to .htm files and it worked.  Why would they not link proper

  • Problem to open file in Adobe Prem Element 9?

    Hey i just have problem to open project, If i try to open the file, it says "The Catalog could not be opened. It is either corrupt, or the version is out of date and cannot be updated" Why i cant update and where i can? This Prem Element 9 is buyed f

  • Accessible Tables in PDF for Jaws Screen-readers

    Hi there I'm trying to make a fully accessible PDF using indesign CS3. This document includes a number of Tables. The end-users are visually impaired people using reader software, mainly Acrobat and JAWS. When the Tagged PDF is tested in JAWS none of

  • Photoshop CC will not allow me to save files

    Photoshop CC will not allow me to save any files.  It will bring up the "save as" window, but then it immediately disappears when trying to select a save location.  No error messages, it just disappears.  Any ideas?  Running it on a Mac OS X Maverick

  • Urgent Help Requested...

    Good day all, I have a 40GB iPod Photo. I've had it for over a year now and it's been working fine...uptil now. My friend suggested that there is a way to get my old iPod to play videos. He suggested something like iPodLinux. I tried it and now I wan