Cant able to get the output while using session scope

Hi
I am using jdeveloper 11.1.1.5
As i posted in the previous post i had made some changes still i am not getting proper output
These are steps that i had followed for developing login page
1.I had created a TaskFlow in adfc-config.xml such that if the login is success it navigates to the other page pls verfiy the link
http://www.4shared.com/photo/5PNrf1hd/E028_2.html
2.I had also changed the scope to session in adfc-config.xml
http://www.4shared.com/photo/HtVVOw_B/E029.html
3.This was my Welcome.jspx code
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
  <jsp:directive.page contentType="text/html;charset=UTF-8"/>
  <f:view>
    <af:document id="d1" binding="#{sessionScope.backing_welcome.d1}">
      <af:form id="f1" binding="#{sessionScope.backing_welcome.f1}">
        <af:inputText label="UserName" binding="#{backing_welcome.it1}"
                      id="it1" value="#{sessionScope.backing_welcome.auser}"/>
        <af:inputText label="Password" binding="#{backing_welcome.it2}"
                      id="it2"
                      value="#{sessionScope.backing_welcome.apassword}"/>
        <af:commandButton text="Login"
                          binding="#{backing_welcome.cb1}" id="cb1"
                          action="#{backing_welcome.cb9_action}"/>
      </af:form>
    </af:document>
  </f:view>
  <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_welcome-->
</jsp:root>3.This was my welcome.java backing bean for welcome.jspx page
    public String getAuser() {
        return auser;
    public void setApassword(String apassword) {
        this.apassword = apassword;
    public String getApassword() {
        return apassword;
    public String cb9_action() {
        String returnStr="error";
        System.out.println("Inside loginBtn_action");
        BindingContainer bindings = getBindings();
        OperationBinding operationBinding = bindings.getOperationBinding("checkLoginCredentials1");
        operationBinding.getParamsMap().put("p_user", auser);
        operationBinding.getParamsMap().put("p_pwd", apassword);
    operationBinding.execute();
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
        returnStr= "success";
    System.out.println("returnStr= " + returnStr);
           return returnStr;
    }While i run my program no output is displayed!! No logs also been recorded!!
Could any body pls help me!!

thank you jhon!
If i am not using any binding i m getting error as
javax.el.PropertyNotFoundException: Target Unreachable, 'backing_welcome' returned nullI had used this jspx code
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
  <jsp:directive.page contentType="text/html;charset=UTF-8"/>
  <f:view>
    <af:document id="d1" >
      <af:form id="f1" >
        <af:inputText label="UserName"
                      id="it1" value="#{sessionScope.backing_welcome.auser}"/>
        <af:inputText label="Password"
                      id="it2"
                      value="#{sessionScope.backing_welcome.apassword}"/>
        <af:commandButton text="Login"
                           id="cb1"
                          action="#{sessionScope.backing_welcome.cb9_action}"/>
      </af:form>
    </af:document>
  </f:view>
  <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_welcome-->
</jsp:root>Give me some guide how to use session scope!! Since i read all the documents i m not getting any proper output

Similar Messages

  • Are You All Able to get the Output In EXCEL Format

    Hi All,
    I have one question. Are You All Able to get the Output In EXCEL Format?? I am working on Oracle Apllication 11.5.10.2 and my XML builder is 5.0.1. Problem which i m facing is this...... Whenever i am submitting a concurrent program with format type different from PDF i could not able to view the ouput in desired format. When i am pressing view output it gives me a file in XML and when i save that file with extention 'xls' or 'rtf' then i could able to see the saved file in desired format.
    Can anyone tell me where is the problem??? Is it a bug?
    I am using microsoft world 2000 sp-3.
    Please give your valuable comments. May be your comments can solve my problem..
    Thanks
    Ravi

    Hi I got Same issue
    When I change Format to EXCEL from
    Submit request>> Option>> Format = EXCEL
    In window I am getting something HTML code and
    when I try to copy it to Browser from Tools>> Copy File in to Browser I am getting following message
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    End tag 'p' does not match the start tag 'a'. Error processing resource 'http://our url.com:8000/OA_CGI...
    <p class="c0"><a name="Text4" id="Text4"><a name="Text1_1" id="Text1_1"><span class="c1">Dept No <...
    But I can see the output when Format is PDF
    Pls suggest solution ,I am using EBS 11.5.10.2.
    Thanks
    Rahul
    Message was edited by: Rahul
    user576181

  • ABAP Program where iam not able to get the Output.

    Hi Team,
                   I have written the code for the following requirement but could not get the output
    Can you people please have a look at this.
    Create a Report with the following output.
    In the selection screen you should have KUNNR and Delivery date(VBEP-EDATU).
    When you select the Customer number and Date in the Selection the following output should be displayed.
    Sales order Number (VBAK-VBELN)
    Sales order Material (VBAP-MATNR)
    Quantity (VBAP-ZMENG)
    Ship-to-Party (VBAK-KUNNR)
    Delivery Number(LIKP-LFDAT).
    The key field used for fetching the values is VBELN.
    Here the values from table VBAK are not getting selected.
    Please check the Program and give your valuable suggestion.
    I checked in Debug mode but could not get the values
    Regards,
    Pradeep P.

    Hi Ramchand,
                           Plz find the Code.
    *Fetching  vbeln matnr zmeng kunnr from vbak and vbap
    select a~vbeln
           b~matnr
           b~zmeng
           a~kunnr
           into corresponding fields of table it_sales
           from vbak as a
           inner join vbap as b
           on avbeln = bvbeln
           where a~kunnr in s_kunnr.
      If sy-subrc = 0.
      sort it_sales by vbeln.
      endif.
    *Fetching vbeln edatu lfdat from vbep and likp
    select a~vbeln
           a~edatu
           b~lfdat
           into corresponding fields of table it_delivery
           from vbep as a
           inner join likp as b
           on avbeln = bvbeln
           for all entries in it_sales
           where a~vbeln = it_sales-vbeln
           and a~edatu in s_edatu.
    Regards,
    Pradeep P.

  • Comas(,) are not getting displayed in the output while using OO ABAP

    Hi All,
    I am using ABAP objects to display the ALV report in which there is a requirement to output Quantity fields. The Quantity fields are getting displayed without comas ','. Please help me in getting back the comas in the output.
    Eg:
    Below logic is used in my program.
    Class name: cl_salv_form_layout_grid
    Code:
      obj_footer->create_text(
            row    = v_row_cnt
            column = v_col_cnt
            text   = Quantity).
    Expected output:
    39,545.000
    Current Output:
    39545.000
    Thanks in advance for your help.
    Thanks & Regards,
    Siva.

    Hi,
    Please check if the images are in the server and in the /images alias path.
    thanks,
    Sharmila

  • Getting the error while using bapi 'BAPI_PROJECTDEF_UPDATE'.

    Hi,
    All
    To fulfill a requirement of project definition update in PS module, I have been trying with bapi 'BAPI_PROJECTDEF_UPDATE' , but I am getting the error like 'The external key is not compatible with the internal key'.
    Following are the details of my source code:
    CALL FUNCTION 'BAPI_PS_INITIALIZATION'
       data: ls_def_strucure LIKE BAPI_PROJECT_DEFINITION,
           ls_def_update LIKE BAPI_PROJECT_DEFINITION_UP,
           ls_error like bapireturn1.
    ls_def_strucure-PROJECT_DEFINITION = '11011'.
    ls_def_strucure-DESCRIPTION = 'Indian Metro Updated by BAPI'.
    ls_def_update-DESCRIPTION = 'X'.
    CALL FUNCTION 'BAPI_PROJECTDEF_UPDATE'
       EXPORTING
         currentexternalproje          = '11011'       " Project Definition
         currentinternalproje          = '11011'
         project_definition_stru       = ls_def_strucure
         project_definition_up         = ls_def_update
      IMPORTING
        RETURN                        = ls_error
    * TABLES
    *   E_MESSAGE_TABLE               =
    CALL FUNCTION 'BAPI_PS_PRECOMMIT'.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    I have tried with 'BAPI_PROJECT_MAINTAIN' ,but there I am not getting any idea to usage of this bapi.
    please help me if you have any solution for this problem.
    Thanks in advanced.

    Thanks for your quick reply
    Actually i have a requirement to update the Project definition and other Project elements like WBS, Network , Activities and Milestone. I referred several documents and came to know that 'BAPI_PROJECT_MAINTAIN' can perform these all update tasks. But tried with that bapi but got the error. First help me please if you have any idea about this BAPI .
    Coming to BAPI_PROJECTDEF_UPDATE I got the error like Internal and exrternal keys  are not type compatible with each other.
    So , do you have any idea what would be the exact value of these two parameters.

  • Missing fields in the output while using SAP SCRIPT

    Hi,
    I am working on an issue where we are using F110 to print some checks, and for this we have created a custom sap script and we are using a std driver program RFFOUS_C, we have also maintianed a custom subroutine pool ZRFFOUS which will retrieve the missing data for the sap script which was not there in the std. program. Now we have applied a SP to our system and since then we are having a problem...when we are printing the chechks its missing some fields.
    Surpisingly, it is happening for all scripts like Dunning, invoice......
    These scripts are working good in production which is not applied patches.
    I have tried in all ways, did debug, data is there in tables and scripts are exactly same as in production.
    Could you please share any ideas regarding this? What would be the effect of patches?
    Thanks
    Sha

    Hi ,
    I think u r printing the Check through the Tr Code F110.
    In that program u r using the Standard Driver Program RFFOUS_C and u create a New Sap script.
    and also u also mantained the custom subroutine pool ZRFFOUS .  when ru giving printing u are  not able to print some  field.
    In this case  when u using the Standard driver Program RFFOUS_C in that program there is a Include Progran  * RFFORI01---- check  , 
    in this program it is calling the Standard Form (F110PRENUM_CHCK) i--e t042e-zforn .as shown in the below and it is calling the function module 'OPEN_FORM'._
    Please copy  the form  asZF110_PRENUM_CHCK and  and do the changes in that form . and we need to maintained the Form as Company code level  -- and it will shown this Table T042E (Company Code-Specific Specifications for Payment Methods)
    Please go to Transaction Code FBZP  and U can maitained the  New Sap Script Form Company Code Level.
    one thing while u calling your new subroutine pool ZRFFOUS  Please call  this subroutine in  your Sap Script form then only u can see all values in your Check.  and Actvate the Sap script .
    Like U can call your new  subroutine ZRFFOUS  in your New Sap script Program.
    /E   CHECK
    /:   PERFORM XXXXXXX IN PROGRAM XXXXXX''                  
    /:   PERFORM CHECK_NAME IN PROGRAM  ZRFFOUS
    /:   USING &XXXXXXX&                      
    /:   CHANGING &XXXXXX&                   
    /:   ENDPERFORM                              
    In the subroutine pool ZRFFOUS   u have to call  as
    FORM CHECK_NAME TABLES t_data_in  STRUCTURE itcsy
                                                   t_data_out STRUCTURE itcsy.
    xxxxx
    xxxxx
    xxxxx
    ENDFORM.
    In this case  when u using the Standard driver Program RFFOUS_C in that program there is a Include Progran  * RFFORI01---- check  , 
    in this program it is calling the Standard Form (F110_PRENUM_CHCK) i--e t042e-zforn .
        open check form
          CALL FUNCTION 'OPEN_FORM'
               EXPORTING
                    form     =  t042e-zforn
                    device   = 'PRINTER'
                    language = t001-spras
                    options  = itcpo
                    dialog   = space
               EXCEPTIONS
                    form     = 1.
          IF sy-subrc EQ 1.                "abend:
            IF sy-batch EQ space.          "form is not active
              MESSAGE a069 WITH t042e-zforn.
            ELSE.
              MESSAGE s069 WITH t042e-zforn.
              MESSAGE s094.
              STOP.
            ENDIF.
          ENDIF.
    I thing it will help u to solve this issue.
    Thanks.
    Gagan

  • If i select a check box i cant able to get the values in language columns in datagird??.......whats

    <?xml version="1.0"?>
    <!-- dpcontrols\ModifyDataGridData.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="500"
                    height="600" >
        <mx:Script>
            <![CDATA[
                import mx.collections.*;
                import mx.controls.*;
                import mx.events.*;
                import mx.utils.object_proxy;
                // Add event information to a log (displayed in the TextArea).
                public function collectionEventHandler(event:CollectionEvent):void {
                    switch(event.kind) {
                        case CollectionEventKind.ADD:
                            addLog("Item "+ event.location + " added");
                            break;
                        case CollectionEventKind.REMOVE:
                            addLog("Item "+ event.location + " removed");
                            break;
                        case CollectionEventKind.REPLACE:
                            addLog("Item "+ event.location + " Replaced");
                            break;
                        case CollectionEventKind.UPDATE:
                            addLog("Item updated");
                            break;
                // Helper function for adding information to the log.
                public function addLog(str:String):void {
        //        log.text += str + "\n";
                // Add a person to the ArrayCollection.
                public function addPerson():void {
                    var s:String;
                    var l:String;
                    if(rg1.selected)
                        s=rg1.label;
                    else
                        s=rg2.label;
                    if(ENG.selected)
                        l=ENG.label;
                    else
                        l=TAM.label;
                    if(ENG.selected && TAM.selected)
                        l=ENG.label.toString()+'&'+TAM.label.toString();
                    ac.addItem({Name:NameInput.text, Age:AgeInput.text,Sex:s ,Languagesknown:l});
                    clearInputs();
                // Remove a person from the ArrayCollection.
                public function removePerson():void {                // Make sure an item is selected.
                    if (dg.selectedIndex >= 0) {
                        ac.removeItemAt(dg.selectedIndex);
                // Update an existing person in the ArrayCollection.
                public function updatePerson():void {
                    var s:String;
                    var l:String;
                    if(rg1.selected)
                        s=rg1.label;
                    else
                        s=rg2.label;
                    if(ENG.selected)
                        l=ENG.label;
                    if(TAM.selected)
                        l=TAM.label;
                    if(ENG.selected && TAM.selected)
                        l=ENG.label.toString()+'&'+TAM.label.toString();
                    // Make sure an item is selected.
                    if(dg.selectedItem !== null) {
                        ac.setItemAt({Name:NameInput.text, Age:AgeInput.text,Sex:s,languageknown:l},dg.selectedIndex);
                // The change event listener for the DataGrid.
                // Clears the text input controls and updates them with the contents
                // of the selected item.
                public function dgChangeHandler():void {
                    var s:String;
                    var l:String;
                    if(rg1.selected)
                        s=rg1.label;
                    else
                        s=rg2.label;
                    if(ENG.selected)
                        l=ENG.label;
                    if(TAM.selected)
                        l=TAM.label;
                    if(ENG.selected && TAM.selected)
                        l=ENG.label.toString()+'&'+TAM.label.toString();
                    clearInputs();
                    NameInput.text = dg.selectedItem.Name;
                    AgeInput.text = dg.selectedItem.Age;
                    s=dg.selectedItem.Sex;
                    l=dg.selectedItem.Languageknown;
                // Clear the text from the input controls.
                public function clearInputs():void {
                    var s:String;
                    var l:String;
                    if(rg1.selected)
                        s=rg1.label;
                    else
                        s=rg2.label;
                    if(ENG.selected)
                        l=ENG.label;
                    if(TAM.selected)
                        l=TAM.label;
                    if(ENG.selected && TAM.selected)
                        l=ENG.label.toString()+'&'+TAM.label.toString();
                    NameInput.text = "";
                    AgeInput.text = "";
                    s="";
                    l="";
            ]]>
        </mx:Script>
        <!-- The ArrayCollection used by the DataGrid and ComboBox. -->
        <mx:ArrayCollection id="ac"
                            collectionChange="collectionEventHandler(event)">
        </mx:ArrayCollection>
        <mx:DataGrid width="450" id="dg" dataProvider="{ac}"
                     change="dgChangeHandler()">
            <mx:columns>
                <mx:DataGridColumn dataField="Name" headerText="Name"/>
                <mx:DataGridColumn dataField="Age" headerText="Age"/>
                <mx:DataGridColumn dataField="Sex" headerText="Sex"/>
                <mx:DataGridColumn dataField="Languageknown" headerText="Languageknown"/>
            </mx:columns>
        </mx:DataGrid>
        <!-- Form for data to add or change in the ArrayCollection. -->
        <mx:Form>
            <mx:FormItem label="Name">
                <mx:TextInput id="NameInput"/>
            </mx:FormItem>
            <mx:FormItem label="Age">
                <mx:TextInput id="AgeInput"/>
            </mx:FormItem>
            </mx:Form>
        <mx:Form width="300" height="90">
            <mx:RadioButtonGroup id="radiogroup1"/>
            <mx:FormItem width="53" label="Sex">
            </mx:FormItem>
            <mx:RadioButton id="rg1" label="Male"  groupName="radiogroup1"/>
            <mx:RadioButton id="rg2" label="Female" groupName="radiogroup1"/>
        </mx:Form>
        <mx:Form x="98" width="304" height="150">
            <mx:FormItem label="Languages known" >
            </mx:FormItem>
            <mx:CheckBox id="ENG" label="English" 
                         />
            <mx:CheckBox id="TAM" label="Tamil" />
            </mx:Form>
        <mx:HBox>
            <!-- Buttons to initiate operations on the collection. -->
            <mx:Button label="Add New" click="addPerson()"/>
            <mx:Button label="Update Selected" click="updatePerson()"/>
            <mx:Button label="Remove Selected" click="removePerson()"/>
            <!-- Clear the text input fields. -->
            <mx:Button label="Clear" click="clearInputs()"/>
        </mx:HBox>
    </mx:Application>

    Hi gayathriguru,
    You just need to correct the name for Languageknown while inserting object into array collection.
    ac.addItem({Name:NameInput.text, Age:AgeInput.text,Sex:s ,Languagesknown:l});
    You have by mistaken written it as Languagesknown instead of Languageknown. (<mx:DataGridColumn dataField="Languageknown" headerText="Languageknown"/>)
    Thanks and Regards
    Pooja Kuber | [email protected] | www.infocepts.com

  • Problem in getting the output.

    I am able to get the output when i run the report program.But if i run the same program, via T-code ,its going back to the initial screen.
    Any help/input regarding this is highly appreciated.
    Thanks in advance.
    Regards,
    Booma

    hi,
    follow the below procedure to create Tcode for Report
    1) Go to SE93 and enter transaction name
    2) Select 2nd radio button ie program and selection screen (report program)
    3) Enter your report Program name in Program
    4) Selection screen as 1000
    5) Select SAP GUI for Windows checkbox
    Reward points if it is helpful.
    Regards,
    Srilatha.

  • I cannot get the Output Module to work. I was able to get the button to show up, but when I click on it, nothing happens. i need to export a PDF asap

    I cannot get the Output Module to work. I was able to get the button to show up, but when I click on it, nothing happens. i need to export a PDF asap. I am trying to export 33 PSD files in BRIDGE to a PDF like I used to do on my other computer with bridge.

    Let's start with the general things.
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    orange Firefox button (or Tools menu) > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site, try either:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    In the dialog that opens, you can remove the site's cookies individually.
    Then try reloading the page. Does that help?

  • Getting the output from a Perl script using Runtime.exec

    I cannot get the output from a perl script using Java. Can someone PLEASE help?
    I used the following code:
    Process p = Runtime.getRuntime().exec("C:\\Perl\\bin\\Perl.exe script.pl) ;
    InputSream in = p.getInputStream();
    b...
    do
    System.out.println(b);
    while ((b = in.read()) > 0)
    But there is no way that I get the output in the inputstream. If I use the command "cmd script.pl", the output is displayed in the Dos box, but also not in the inputstream.
    I will appreciate any help.

    Try this
    Process p = Runtime.getRuntime().exec("C:\\Perl\\bin\\Perl.exe script.pl) ;
    BufferedReader rd = new BufferedReader(new InputStreamReader(p.getInputStream()));
    String str;
    while((str=rd.readLine())!=null){
    System.out.println(str);
    Manu

  • After system restore ,we are not able to activate the windows,while login to systems getting an error 0x800700B7

    after system restore ,we are not able to activate the windows, while login to systems getting an error 0x800700B7
    Cont-8096688758

    hi Jain,
    you may need to check the transfer structures,
    right click infosource and 'change', click 'comm.structure'/expand,
    click 'transfer', move the 0BASE_UOM from left to right side,
    or if you wont use the comm structure anymore, you can right click infosource and 'delete comm structure'
    hope this helps.

  • HT4623 i m using 7.0.4 version and i cant able to download the 7.0.5 plz help to update

    m using 7.0.4 version and i cant able to download the 7.0.5 plz help to update

    I have 5c. Error message I get is that the update isn't downloading correctly. My OCD is making me go crazy with that big red number one on the settings icon!

  • Problem Using HTTP Dispatcher -- Could Not able to get the data in JSP

    Hi, I am using HTTP Dispatcher to send my events to particular URL which is a JSP page. I am trying to populate the received event through URL and populate to a oracle data base. But could not able to get the data in Oracle database.
    Code is :
    <h1>JSP Page</h1>
    <%
    long type = 0;
    String tagId = null;
    String timeStr = "0";
    String deviceName = "";
    // Get Event Parameters
    // Available Parameters: id, siteName, deviceName, data, time, type, subtype, sourceName, correlationId
    try
    type = Long.parseLong(request.getParameter("type")); // Get type
    tagId = request.getParameter("id"); // Get tagId
    timeStr = request.getParameter("time"); // Get time
              deviceName = request.getParameter("deviceName");
    catch (Exception e)
    out.println( "Error: "+e.getMessage() );
              // Write into DB.
              try {
              if ((tagId == null) || (type != 200) ){
                   // Do Nothing
                   //return;
              } else {
                   OracleDataSource ods = new OracleDataSource();
                   String URL = "jdbc:oracle:thin:@//3.235.173.16:1525/vislocal";     
                   ods.setURL(URL);
                   ods.setUser("cus");
                   ods.setPassword("cus");
                   Connection myConn = ods.getConnection();     
                   Statement stmt = myConn.createStatement();
                   String selectQuery =
                             "SELECT MAX(rfid_raw_reads_id) as max_id FROM "+
                        "cus.rfid_raw_reads ";
                   ResultSet rs = stmt.executeQuery(selectQuery);
                   String maxId = "1";
                   if (rs.next()) {
                        maxId = rs.getString(1);               
                   String selectMaxTagIDQuery =
                             "SELECT MAX(rfid_raw_reads_id) as max_id FROM "+
                        "cus.rfid_raw_reads WHERE tag_id = '" + tagId + "'" ;
                   stmt = myConn.createStatement();
                   rs = stmt.executeQuery(selectMaxTagIDQuery);
                   String maxTagId = "1";
                   if (rs.next()) {
                        maxTagId = rs.getString(1);               
                   long primaryKey = 1;
                   long tagKey = 1;
                   try {
                        primaryKey = Long.parseLong(maxId) + 1;
                        tagKey = Long.parseLong(maxTagId) + 1;
                   } catch (Exception e) {
                   long currentTime = System.currentTimeMillis();
                   long updateKey = (tagKey - 1);
                   String updateQuery = " UPDATE cus.rfid_raw_reads SET read_end_time = " + currentTime + " WHERE rfid_raw_reads_id = " + updateKey;
                   Statement updateStmt = myConn.createStatement();
                   updateStmt.execute(updateQuery);     
                   String query =
                        "INSERT INTO cus.rfid_raw_reads (rfid_raw_reads_id, tag_id,device_name,read_start_time) VALUES ("+ primaryKey + ",'" + tagId + "'," + deviceName + "'," + System.currentTimeMillis() + " )" ;
                   Statement insertStmt = myConn.createStatement();
                   insertStmt.execute(query);     
                   myConn.commit();
                   myConn.close();
              } catch (Exception e) {
    %>
    <p>For browser debug:
    <%
    out.println( "Type="+type+" ID="+tagId +" time="+timeStr );
    %>
    Kindly suggest where is the problem...
    Thanks and regards
    Mohammad Nasim Akhtar

    HI Prabhat,
    Thanx for your reply, I worked out and able to receive the data in oracle database, Actually there was some problem in insert Query. Now I have tested the same... and able to edit the same in the Database.....
    But I am facing a new problem, Http Dispatcher in SES console is displaying all the Events generated as well as event in Que but there is no events in the Event Send. I guess it is not able to send the events.....?????
    Event statical is showing like this
    Events Received: 0 (0.00/sec)
    Events Generated: 311 (0.19/sec)
    Events Sent: 2 (0.19/sec)
    Queued Events: 309 (0.19/sec)
    Kindly suggest where is the problem, Is it a JSP problem or OSES end problem.....
    Thanks and regards
    Nasim

  • Not able to get the message from Queue using MQ adapter

    HI
    Using Mq adapter am able to put the message in a queue and am able to get the message if i select the schema type as opaque, but am not able to get the message if i specify any schema type and am getting timed out exception.
    Kindly help to proceed with this issue.

    Hi,
    Am also facing the same issue.
    I would be thankful if anyone can provide the solution

  • HT201272 I purchased an audiobook in Nov 2012 using iPhone 4S and then upgraded to iPhone 5 in Dec. Now I am not seeing the audio book in purchase history in iTunes. This means I am not able to get the book in my new iPhone. Please help

    I purchased an audiobook in Nov 2012 using iPhone 4S and then upgraded to iPhone 5 in Dec. Now I am not seeing the audio book in purchase history in iTunes. This means I am not able to get the book in my new iPhone. Please help.

    Audiobooks are currently a one-time only download from the store. If you don't have it on your computer (audiobooks go into the Books part of your iTunes library) nor on a backup, then if it's still in the store you can try contacting iTunes support and see if they will grant you a re-download : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

Maybe you are looking for