I want an answer urgent for this Error

Hi all
I am using MS Access as a database
In my JSP code when i used one query or many updates, that works fine. However, when i use two queries, it shows the following error. By the way, i tried to use different connections and the same connection and all my possible ways and that does not show any progress. I hope you do not mind to help me
this is the error:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: No data found
     org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
     org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
     org.apache.jsp.next3_jsp._jspService(org.apache.jsp.next3_jsp:129)
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.sql.SQLException: No data found
     sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
     sun.jdbc.odbc.JdbcOdbc.SQLGetDataString(Unknown Source)
     sun.jdbc.odbc.JdbcOdbcResultSet.getDataString(Unknown Source)
     sun.jdbc.odbc.JdbcOdbcResultSet.getString(Unknown Source)
     sun.jdbc.odbc.JdbcOdbcResultSet.getString(Unknown Source)
     org.apache.jsp.next3_jsp._jspService(org.apache.jsp.next3_jsp:65)
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

No...if i use one query at a time, it works fine. however when i use the two of them simulatenously, it shows that no data found Exception.
this is an example of the code. I want the answer without using Java Beans.
<html>
<head>
<title>Welcome</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body background="bg.jpg">
<%
String BadgeNo1 =""+session.getAttribute("BadgeNo");
String Password1=""+session.getAttribute("Password");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
java.sql.Connection connection = java.sql.DriverManager.getConnection("jdbc:odbc:Employee_db","","");
java.sql.Statement statement2 = connection.createStatement();
java.sql.ResultSet rs2 = statement2.executeQuery("SELECT Employee.Password FROM Employee WHERE Employee.IDNo= "+BadgeNo1);
%>
<% if(rs2.next()){
     if (rs2.getString("Password").equals(Password1)&&rs2.getString("Password")!=null){%>
     <% connection.close();
     connection=java.sql.DriverManager.getConnection("jdbc:odbc:Employee_db","","");
     java.sql.Statement statement3 = connection.createStatement();
     java.sql.ResultSet rs3 = statement3.executeQuery("SELECT Employee.Name FROM Employee WHERE Employee.IDNo= "+BadgeNo1);
     %>
<%rs3.next();%>     
Welcome <%=rs3.getString("Name")%>
<% connection.close(); } } %>

Similar Messages

  • What the answer for this  error on a Macintosh system, the application can not open because "NameRegistryLib" could not be found

    what the answer for this error, the application could not open because the "NameRegistryLib" could not be found

    http://www.everymac.com/mac-answers/mac-os-9-classic-support-faq/run-macos-9-on- intel-macs.html
    http://www.macwindows.com/Emulator-for-Mac-OS-9-in-OS-X-updated-for-Mountain-Lio n.html
    http://hints.macworld.com/article.php?story=20060509180914879
    How to run Classic (pre OS X) apps on Intel Macs  

  • Hp pavilion dv6 6180 help me for this error when I am using my recovery disk

    hp pavilion dv6 6180 help me for this error when I am using my recovery disk
    The destination drive is not connected

    Hello Mohammadshamlou.  I understand that you're having some issues using your Recovery Disc.  It is giving you the error that the drive is not connected.  Is this correct?  How long have you had the notebook?
    What issue originally led you to want to try a recovery?
    The error seems to imply that it is not detecting the hard drive as this would be the most logical destination drive.  So, I feel the best thing to try first is verify that the hard drive is in proper working order.  Follow these steps and please post the result. 
    Please click the white star under my name to give me Kudos as a way to say "Thanks!"
    Click the "Accept as Solution" button if I resolve your issue.

  • IOS 7 very slow, i have many problem , exemple  download documents , typing doc to go .   Very slow, sometime no response , please help us for this error

    IOS 7 very slow, i have many problem , exemple  download documents , typing doc to go .   Very slow, sometime no response , please help us for this error,

    spacepilot wrote:
    i live in the WS10 / 0121 area and have been having similar problems. i have an up to 20mb services, but up to a month ago connected at 4800, then my line went dead for 6 days, and all indis could do was send me  new router, which came the day after my line was restored, but had dropped to 2418 and remained so for the past 3 to 4 weeks, then i dropped to 1963 yesterday, and 729 today.
    all speeds are far lower on my upto 20mb than they where on my upto 8mb link.
    foegot to add, i reported the problem via the report a problem link, which hopefully will be red by someone with  a firmer grasp of english that the normal call centre staff
    welcome to the forum    why don't you start your own subject and post the adsl stats from your router and also run btspeedtester and post the results and someone may be able to offer assistance
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Error encountered while signing. Windows cryptographic service provider reported an error. Object not found. Error code:2148073489. Windows 7, Adobe Reader XI, Symantec PKI, Smart Card and CAC. I have seen other threads for this error but none have a reso

    Error encountered while signing. Windows cryptographic service provider reported an error. Object not found. Error code:2148073489. Windows 7, Adobe Reader XI, Symantec PKI, Smart Card and CAC. I have seen other threads for this error but none have a resolution. Any help would be appreciated.
    Sorry for the long title, first time poster here.

    This thread is pretty old, are you still having this issue?

  • What could be the reason for this error file

    Hi,
    What could be reason for this error file, the content of the error file is :
    Compiling INSERT-PROCEDURE trigger on IOTDISPUTE_FILES data block...
    No compilation errors.
    Compiling UPDATE-PROCEDURE trigger on IOTDISPUTE_FILES data block...
    No compilation errors.
    Compiling DELETE-PROCEDURE trigger on IOTDISPUTE_FILES data block...
    No compilation errors.
    Compiling LOCK-PROCEDURE trigger on IOTDISPUTE_FILES data block...
    No compilation errors.
    Compiling INSERT-PROCEDURE trigger on IOTDISPUTEDETAILS data block...
    No compilation errors.
    Compiling UPDATE-PROCEDURE trigger on IOTDISPUTEDETAILS data block...
    No compilation errors.
    Compiling DELETE-PROCEDURE trigger on IOTDISPUTEDETAILS data block...
    No compilation errors.
    Compiling LOCK-PROCEDURE trigger on IOTDISPUTEDETAILS data block...
    No compilation errors.
    Created form file X:\IOT\IOT_SupportingSystem\Forms\IOTRAP.fmx
    I am getting this error while compiling a form with DML sources are Database Procedure.
    Thanks in advance.
    Rizly

    Hi,
    Sorry for the delayed response. These informations are generated in the FormName.err file. If its not the error, then why its not generating for other forms. As I mentioned earlier, this fom has DML sources by the Database Procedures, that could be the reason ?, this is my first project in Forms.
    The content of the IOTRAP.err file:
    Compiling DELETE-PROCEDURE trigger on IOTDISPUTEDETAILS data block...
    No compilation errors.
    Compiling LOCK-PROCEDURE trigger on IOTDISPUTEDETAILS data block...
    No compilation errors.
    Created form file X:\IOT\IOT_SupportingSystem\Forms\IOTRAP.fmx
    Thanks in advance.
    Rizly

  • Could not open error log file ''. Operating system error = 5(failed to retrieve text for this error. Reason: 15105).

    Hello
    When I try to start the SQl server service i get the following error:
    Event id 17058
    Could not open error log file ''. Operating system error = 5(failed to retrieve text for this error. Reason: 15105).
    As a test I have made sure the errorlog file ,and the entire drive it is, has everyone full control permissions, but to no avail. Does anyone have any ideas to resolve this issue?
    Thank you

    Hi,
    Try running:
    SELECT SERVERPROPERTY('ErrorLogFileName')
    Then verify that the account being used to run the SQL Server service account has access to the path output above.  If possible, you could try logging onto the server with the same account used to run SQL Server then navigate to the errorlog folder.
    Thanks,
    Andrew Bainbridge
    SQL Server DBA
    Please click "Propose As Answer" if a post solves your problem, or "Vote As Helpful" if a post has been useful to you

  • Two or more productid will be accquired by same customerid, by same shipvia, on the same day of the week of shipped date. i want the simple query for this.

    consider this situation,
     Two or more productid will be accquired by same customerid, by same shipvia, on the same  day of the week of shipped date. i want the simple query for this.
    my tables are  from northwind:
    [orders] = OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, ShippedDate, ShipVia, Freight, ShipName, ShipAddress, ShipCity, ShipRegion, ShipPostalCode, ShipCountry.
    [orders details] = OrderID, ProductID, UnitPrice, Quantity, Discount.
    i tried some but it is not exact, it gives wrong result.
    select pd.CustomerID,pd.ProductID, pd.no_of_time_purchased, sd.ShipVia, sd.same_ship_count, shipped_day from
    select ProductID,o.CustomerID,COUNT(productid) as no_of_time_purchased
    from orders o join [Order Details] od on o.OrderID=od.OrderID group by ProductID,o.CustomerID
    having count(od.ProductID) >1) pd
    join
    (select OrderID,customerid, shipvia, count(shipvia)as same_ship_count, DATENAME(DW,ShippedDate)as shipped_day from orders
    group by customerid, ShipVia, ShippedDate having COUNT(ShipVia) > 1 ) sd
    on sd.CustomerID=pd.CustomerID

    Hi,
    I think I have a solution that will at least give you a clue how to go about it. I have simplified the tables you mentioned and created them as temporary tables on my side, with some fake data to test with. I have incldued the generation of these temporary
    tables for your review.
    In my example I have included:
    1. A customer which has purchased the same product on the same day, using the same ship 3 times,
    2. Another example the same as the first but the third purchase was on a different day
    3. Another example the same as the first but the third purchase was a different product
    4. Another example the same as the first but the third purchase was using a different "ShipVia".
    You should be able to see that by grouping on all of the columns that you wich to return, you should not need to perform any subselects.
    Please let me know if I have missed any requirements.
    Hope this helps:
    CREATE TABLE #ORDERS
     OrderID INT,
     CustomerID INT,
     OrderDate DATETIME,
     ShipVia VARCHAR(5)
    CREATE TABLE #ORDERS_DETAILS
     OrderID INT,
     ProductID INT,
    INSERT INTO #ORDERS
    VALUES
    (1, 1, GETDATE(), 'ABC'),
    (2, 1, GETDATE(), 'ABC'),
    (3, 1, GETDATE(), 'ABC'),
    (4, 2, GETDATE() - 4, 'DEF'),
    (5, 2, GETDATE() - 4, 'DEF'),
    (6, 2, GETDATE() - 5, 'DEF'),
    (7, 3, GETDATE() - 10, 'GHI'),
    (8, 3, GETDATE() - 10, 'GHI'),
    (9, 3, GETDATE() - 10, 'GHI'),
    (10, 4, GETDATE() - 10, 'JKL'),
    (11, 4, GETDATE() - 10, 'JKL'),
    (12, 4, GETDATE() - 10, 'MNO')
    INSERT INTO #ORDERS_DETAILS
    VALUES
    (1, 1),
    (2, 1),
    (3, 1),
    (4, 2),
    (5, 2),
    (6, 2),
    (7, 3),
    (8, 3),
    (9, 4),
    (10, 5),
    (11, 5),
    (12, 5)
    SELECT * FROM #ORDERS
    SELECT * FROM #ORDERS_DETAILS
    SELECT
     O.CustomerID,
     OD.ProductID,
     O.ShipVia,
     COUNT(O.ShipVia),
     DATENAME(DW, O.OrderDate) AS [Shipped Day]
    FROM #ORDERS O
    JOIN #ORDERS_DETAILS OD ON O.orderID = OD.OrderID
    GROUP BY OD.ProductID, O.CustomerID, O.ShipVia, DATENAME(DW, O.OrderDate) HAVING COUNT(OD.ProductID) > 1
    DROP TABLE #ORDERS
    DROP TABLE #ORDERS_DETAILS

  • SSRS in SharePoint2013:Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModule

    SSRS in SharePoint2013: There is a report in SharePoint and it contains a sub-report and the sub-report hyperlink. When I click the hyperlink to go to the sub-report, after >10min, I click the "Back to.." button
    on IE to go to the previous page. Then it catch the error as:
    Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
    Details: Error parsing near '
    <!DOCTYPE html PUB'.
    I am using SQL2012 and Sharpoint2013.

    Hi Alisa,
    Thanks for your reply, I changed the web.config, but the issue did not resolved. 
    I add the codes in two parts of the web.config as below, you can find in by keywords “aspnet:MaxHttpCollectionKeys”
    This issue can not reproduce on Chrome only occur on IE.
    So, do you have some details suggestion for me to fix it?
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <configuration>
    <configSections>
    <sectionGroup name="SharePoint">
    </sectionGroup>
    <location path="_layouts/15/TA_AppMonitoringDetails.aspx">
    <appSettings>
    <add key="ChartImageHandler" value="storage=memory;timeout=20" />
    </appSettings>
    </location>
    <location path="_layouts/15/ReportServer/RSViewerPage.aspx">
    <appSettings>
    <add key="aspnet:MaxHttpCollectionKeys" value="10000" />
    </appSettings>
    </location>
    <system.net>
    <defaultProxy />
    </system.net>
    <appSettings>
    <add key="aspnet:MaxHttpCollectionKeys" value="10000" />
    <add key="aspnet:RestrictXmlControls" value="true" />
    <add key="FeedCacheTime" value="300" />
    <add key="FeedPageUrl" value="/_layouts/15/feed.aspx?" />
    <add key="FeedXsl1" value="/Style Library/Xsl Style Sheets/Rss.xsl" />
    <add key="ReportViewerMessages" value="Microsoft.SharePoint.Portal.Analytics.UI.ReportViewerMessages, Microsoft.SharePoint.Portal, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
    </appSettings>

  • TS3988 This product can not proceed with the activation process, service errors go I want you entered will appear this error I am a Korean. Failed to resolve service center in South Korea  Please e-mail response  iPad2 32GB Cellular Version

    This product can not proceed with the activation process, service errors go I want you entered will appear this error
    I am a Korean.
    Failed to resolve service center in South Korea
    Please e-mail response
    iPad2 32GB Cellular Version
    <Email Edited by Host>

    I'm same. Any Update or News?
    Message was edited by: koreasaram

  • ANY BODY TELL ME WHAT IS THE REASON FOR THIS ERROR

    hi... experts....
        Iam having one screen in my previous module pool program....and now as per my requirement i added on e new field...
    for that...
      1. i declared one variable in top include...
      2. cretaed one more new block with help of box in layout screen..
      3. added some text field and inputput out field...
      4. and in that block i also added one line with test like... following...
    " NOTE: PLEASE ENTER THE ..... VALUE..."   Like this.... just for to give direction...
    so these are  the steps i taken to add new field to my screen... but here i am geting error ... while entering the value in that field and press any push button.... including back in that screen... like....
      "INVAILD FIELD FORMAT (SCREEN ERROR)"
    .... ANY BODY TELL ME WHAT IS THE REASON FOR THIS ERROR... COMMONLY???
    THANK YOU,,,
    NAVEEN..

    hi naveen,
    there can be problem from ur layout side.
    Goto SE51. in Layout editor make sure that the type in screen and in TOP Include is same.
    and if you are using currency field than it can also give error to you.
    if still you any error .
    give me type of variable whcih you defined in TOP and also code.
    give reward if helpfull.

  • Help! Can any tell me what cause / remedy is for this error

    Can any tell me what cause / remedy is for this error:
    [1/29/08 10:52:05:009 GMT] 4131a8 SystemOut
    U 2008-01-29 10:52:05,009 [QuartzWorkerThread-0] FATAL
    com.scheduler.service.businessservice.ReportExecution
    () 190470534 - ****** METHOD FAILED ******WebIntelligence SDK / JSP
    Exception --- Number :10480 --- javaError : WI Internal Error = 100
    --- Description : WI Error while trying to get HTML view for the
    document

    Afraid I haven't seen that before. The only thing I could suggest is to boot from the 1st Install disk and run the hardware test. I would wonder about the video card. You might also post in the MacPro forum. I just got MY MacPro today, and the MacPro Forum is where I would go:
    http://discussions.apple.com/category.jspa?categoryID=194
    The only other thing I can think of is to launch Console from the Utilities folder and see if any errors are being reported.
    Francine
    Francine
    Schwieder

  • Cause is mentioned as : "The cause for this error is due to person name is not assigned to the FND_USER."

    Cause is mentioned as : "The cause for this error is due to person name is not assigned to the FND_USER."
    Do we need to attach the person name of employee whose reverse Global deployment we are doing or the person name of the person who is doing this transaction.
    Thanks & Regards,
    Kirti Mohan Sharma

    You just need to attach the person to the FND User. System Administrator responsibility - Security - User screen.
    After you have linked the person, you can check the table
    Select * from FND_USER
    Where user_name = '<user_name>';
    Cheers,
    Vignesh

  • HT4623 I Can't able to download IOS 7. I n my software update it is giving an error " Unable to check for updates. An error occured while checking for software update". What can be done for this error?

    I Can't able to download IOS 7. I n my software update it is giving an error " Unable to check for updates. An error occured while checking for software update". What can be done for this error?

    Me too having the same thing what's the solution for this how can I update

  • What is the reason for this error, in printing

    HI,
      when I print the label,  in the system log it showing this error message.
    character converter active when first problem occurred****  Any one explain me what could be the reason for this error. 
    Thanks and Regards,
    Surya

    Hi Surya,
    Check out
    http://www.sapfans.com/forums/viewtopic.php?t=247433&sid=ea0c61e87af526fe4c83fe256efe0721

Maybe you are looking for

  • Manually Split the PO Shipment will not retain the Link with the PR

    Hello Gurus, If a PO is created from MO-PR-PO process and if you split PO line shipment into multiple distributions , The link between PO-PR will not be retained. I am aware that this is a Standard Functionality , but it will be of immense help if an

  • Re: Create Custom Group - All devices minus specific devices.

    Worked ... perfect thanks!

  • What is the dot gain setting in the US Web Coated Swop v2 profile?

    Hey guys, This might seem like a bit of a n00b question, but I really can't find this info any which way I Google it. What is the default dot gain setting in the US Web Coated SWOP v2 profile? Allow me to explain my dilema: My printer told me to use

  • How do I accomplish this?

    Could anyone give me any tips to accomplish the following in Apex please? I'm building a system to log maintenance requests. I've built a screen which allows the user to create a new maintenance request and put in a request description. This is recor

  • LMS 3.2 Syslog DBSpaceReclaimer Tool

    Hello Does anybody knows what can be done after run the DBSpaceReclaimer tool?, I only can delete the SyslogSecond.db The SyslogFirst, and SyslogThird cannot be deleted, I do not why. Is another thing more that I can do?, the LMS version is 3.2 Thank