Sending New Data Into DB

Hi guys,
i am making a small web app where i am extracting data from a database table to be viewed on a jsp and adding a html element being a drop down menu under earch row. I've managed to do that successfully, but now i want to put this data in a new table BUT with the addition of the value that was selected in the drop down menu. The problem that i have is trying to do this last part, here is is my current code:
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!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=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h2>Email Faults</h2>
                <%--  Using DataSource to connect to our db --%>
        <sql:setDataSource driver="${initParam.driver}" password="${initParam.password}" 
                           url="${initParam.dburl}" user="${initParam.user}" />
        <%--  Make a query to query db --%>
        <sql:query var="rset">
            SELECT * FROM emailmembertbl
        </sql:query>
        <%--  Display results in a table--%>
        <%--  Get column names and store in variable and display them in loop --%>
        <%--  Get rows from tables in db and store in variable and display them in loop--%>
        <form action="Allocate_Fault_Success.jsp">
        <table border=1 cellpadding=5 align="center" valign="center">
            <tr>
            <c:forEach var="columnName" items="${rset.columnNames}">
                <th><c:out value="${columnName}"/>
            </c:forEach>
            <c:forEach var="row" items="${rset.rowsByIndex}">
                <tr>
                <c:forEach var="column" items="${row}">
                    <td><c:out value="${column}"/>
                </c:forEach>
                    <tr> <td> <select name="allocate_technicians">
                        <option value="Fred_Glen">Fred Glen</option>
                        <option value="Simon_Taylor">Simon Taylor</option>
                        <option value="Jamie_Smith"> Jamie Smith </option>
                </select> </td>
            </c:forEach>  
                 <tr>  <td><html:submit  value="Submit!" />
        </table>
        <%--  Now store these results with the allocation in a new table --%>
      <sql:update>
            INSERT INTO allocate_email_fault(refNo, name, EmailFaultDescription, age, TelNo, Allocated_to)
            VALUES (?, ?, ?, ?, ?, ?)
            <sql:param value="${param.refNo}"/>
            <sql:param value="${param.name}"/>
            <sql:param value="${param.EmailFaultDescription}"/>
            <sql:param value="${param.age}"/>
            <sql:param value="${param.TelNo}"/>
            <sql:param value="${param.allocate_technicians}"/>
        </sql:update>
        </form>
    </body>
</html> when i add the insert statement and run the file i get error saying
org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException:
            INSERT INTO allocate_email_fault(refNo, name, EmailFaultDescription, age, TelNo, Allocated_to)
            VALUES (?, ?, ?, ?, ?, ?)
        : Column 'refNo' cannot be null
     org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
     org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)which i understand because it can't be left blank, but all i want to do now is simply send this data with value selected in my drop down menu and store this in my table which has been created. Is there a convenient way to do this ? without having to create things like java classes and actions forms ect because i just want to use the insert to do it.
Cheers

Hi,
thanks for the reply. In response to your question, i would ideally like the param.refNo coming from the variable row. I'm not trying to input any data except the drop down menu. What i am trying to hopefully achieve is once i've selected a value from the drop down menu on each row, i want to send back the data in to a new table(the data from the loop), but with the adition of the value being selected in the drop down menu as another column.
refNo     int(11)          PRI     NULL     
name     varchar(100)          NULL     
EmailFaultDescription     varchar(100)     NULL     
age     int(11)               NULL     
TelNo     int(11)               NULL     
Allocated_to     varchar(100)     NULL     
Also why would i need the fields to be hidden, i need these fields to be shown so that i can use a drop down menu to allocate a technician to each row.
Edited by: nvidia1 on Jan 22, 2009 12:46 AM

Similar Messages

  • Problem sending the data into XI through webservice

    Dear All,
    I am getting an error while sending the data into XI after hitting my webservice.
    SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Header>
    </SOAP:Header>
    <SOAP:Body>
    <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <faultcode>SOAP:Client</faultcode>
    <faultstring>Error during conversion of XI message</faultstring>
    <faultactor>http://sap.com/xi/XI/Message/30</faultactor><detail>
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIProtocol</SAP:Category>
    <SAP:Code area="PARSER">UNEXPECTED_VALUE</SAP:Code>
    <SAP:P1>Main/@versionMajor</SAP:P1>
    <SAP:P2>000</SAP:P2>
    <SAP:P3>003</SAP:P3>
    <SAP:P4/>
    <SAP:AdditionalText/>
    <SAP:ApplicationFaultMessage namespace=""/>
    <SAP:Stack>XML tag Main/@versionMajor has incorrect value 000; expected value is 003
    </SAP:Stack></SAP:Error></detail></SOAP:Fault>
    </SOAP:Body>
    </SOAP:Envelope>
    Please suggest what the problem could be.
    Abhishek

    <SAP:Stack>XML tag Main/@versionMajor has incorrect value 000; expected value is 003
    </SAP:Stack></SAP:Error></detail></SOAP:Fault>
    --> this states as it is version problem
    Main/@versionMajor is XI message protocol version
    check SXMB_ADM if the system is maintained as XI

  • Can we send the data into different data target from single datasource how

    Hai
    can we send the data into different data target from single datasource how ?

    Hi,
    Create the transformation for each target and connect through DTP if you are in BI 7.0
    If it is BW 3.5 create transfer rules and load it Info source and then different update rules for different targets then load it using IP.
    If you are speaking about loading data from R3 data source to multiple data sources in BI
    Then follow the below step.
    1)create init IP's and run the IP's with different selection to different DSO(With same selection it is not possible).
    2)Then you will have different delta queues for the same data source in RSA7
    3)Your delta loads will run fine to different data sources from same DS in R3.
    Hope this helps
    Regards,
    Venkatesh

  • Refresh jTable after inserting new data into the Database

    Hey all,
    I'm using Netbeans 6.5 to create a Desktop Application which is connected to a Java DB (Derby).
    The first simple steps were all very successfull:
    Create the jTable and bind it to the Database => everything works fine. When the application starts it correctly shows all data from the database.
    The problem starts when I try to insert new data to the database.
    For that reason I've created textfields and a button "Save". When I press the button it successfully inserts the data to the database but they are not displayed in the jTable (when the application starts they are all there, they are not updated at runtime) . I've tried table.invalidate() and table.repaint() but they just don't work.
    Any help will be GREATLY appreciated. But please have in mind that most of the code is Netbeans-generated and most of it not editable.
    Many thanks in advance.
    George

    Once again you are right my friend. I jumped to conclusion way too fast, when I shouldn't. (Give me a break, I've been busting my head with this well over a week). The response I saw when I did that was that indeed a line is added to the jTable. Because I falsly set the index of the object to be added to be second to last the row appeared on the table, what I didn't see at the time was that the last one disappeared. Hmm...
    A new adventure begins...
    So after a few hours of messing around with it here are my observations:
    1) It was not an observable list. When I add the new element with employeesList.add(newEmp); , the table gets notified but a get a bunch of exceptions:
    xception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index: 84, Size: 84
            at java.util.ArrayList.RangeCheck(ArrayList.java:546)
            at java.util.ArrayList.get(ArrayList.java:321)
            at org.jdesktop.swingbinding.impl.ListBindingManager$ColumnDescriptionManager.validateBinding(ListBindingManager.java:191)
            at org.jdesktop.swingbinding.impl.ListBindingManager.valueAt(ListBindingManager.java:99)
            at org.jdesktop.swingbinding.JTableBinding$BindingTableModel.getValueAt(JTableBinding.java:713)
            at javax.swing.JTable.getValueAt(JTable.java:1903)
            at javax.swing.JTable.prepareRenderer(JTable.java:3911)
            at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072)
            at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974)
            at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1897)
            at javax.swing.plaf.ComponentUI.update(ComponentUI.java:154)
            at javax.swing.JComponent.paintComponent(JComponent.java:743)
            at javax.swing.JComponent.paint(JComponent.java:1006)
            at javax.swing.JViewport.blitDoubleBuffered(JViewport.java:1602)
            at javax.swing.JViewport.windowBlitPaint(JViewport.java:1568)
            at javax.swing.JViewport.setViewPosition(JViewport.java:1098)
            at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.vsbStateChanged(BasicScrollPaneUI.java:818)
            at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(BasicScrollPaneUI.java:807)
            at javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel.java:348)
            at javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeModel.java:285)
            at javax.swing.DefaultBoundedRangeModel.setValue(DefaultBoundedRangeModel.java:151)
            at javax.swing.JScrollBar.setValue(JScrollBar.java:441)
            at javax.swing.plaf.basic.BasicScrollBarUI.scrollByUnits(BasicScrollBarUI.java:907)
            at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.mouseWheelMoved(BasicScrollPaneUI.java:778)
            at javax.swing.plaf.basic.BasicScrollPaneUI$MouseWheelHandler.mouseWheelMoved(BasicScrollPaneUI.java:449)
            at apple.laf.CUIAquaScrollPane$XYMouseWheelHandler.mouseWheelMoved(CUIAquaScrollPane.java:38)
            at java.awt.Component.processMouseWheelEvent(Component.java:5690)
            at java.awt.Component.processEvent(Component.java:5374)
            at java.awt.Container.processEvent(Container.java:2010)
            at java.awt.Component.dispatchEventImpl(Component.java:4068)
            at java.awt.Container.dispatchEventImpl(Container.java:2068)
            at java.awt.Component.dispatchMouseWheelToAncestor(Component.java:4211)
            at java.awt.Component.dispatchEventImpl(Component.java:3955)
            at java.awt.Container.dispatchEventImpl(Container.java:2068)
            at java.awt.Component.dispatchEvent(Component.java:3903)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3965)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
            at java.awt.Container.dispatchEventImpl(Container.java:2054)
            at java.awt.Window.dispatchEventImpl(Window.java:1801)
            at java.awt.Component.dispatchEvent(Component.java:3903)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index: 84, Size: 84
            at java.util.ArrayList.RangeCheck(ArrayList.java:546)
            at java.util.ArrayList.get(ArrayList.java:321)
            at org.jdesktop.swingbinding.impl.ListBindingManager$ColumnDescriptionManager.validateBinding(ListBindingManager.java:191)
            at org.jdesktop.swingbinding.impl.ListBindingManager.valueAt(ListBindingManager.java:99)
            at org.jdesktop.swingbinding.JTableBinding$BindingTableModel.getValueAt(JTableBinding.java:713)
            at javax.swing.JTable.getValueAt(JTable.java:1903)
            at javax.swing.JTable.prepareRenderer(JTable.java:3911)
            at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072)
    ... and a lot morewhich from my poor understanding means that the jTable succesfully notices the change but it is not able (??) to adjust to the new change. What is more interesting is that when I plainly add the element to the end of the list (without an idex that is), a blank row appears at the end of my Table. The weird thing is that I've bound the table to some text fields below it, and when I select that empty row all the data appear correctly to the text fields.
    I tried going through:
                    org.jdesktop.observablecollections.ObservableCollections.observableList(employeesList).add(newEmp);as well as
                    help = org.jdesktop.observablecollections.ObservableCollections.observableListHelper(employeesList);
                    help.getObservableList().add(newEmp);
                    help.fireElementChanged(employeesList.lastIndexOf(newEmp));and
                    obsemployeesList = org.jdesktop.observablecollections.ObservableCollections.observableList(employeesList);
                    obsemployeesList.add(newEmp);and I still get the same results (both the exeptions and the mysterious empty row at the end of the table
    So, I'm again in terrible need of your advice. I can't thank you enough for the effort you put into this.
    Best regards,
    George
    Edited by: tougeo on May 30, 2009 11:06 AM
    Edited by: tougeo on May 30, 2009 11:21 AM
    Edited by: tougeo on May 30, 2009 11:30 AM

  • ID CS3: how to input new data into already formatted table

    Hi, I have a table that's already formatted, and every month it needs to be renewed with new data that's delivered in an Excel document
    How can I just repopulate the table with the new data without modifying the table style in any way?
    I read that this is possible in ID CS3 but I don't know how to implement this.
    Many thanks!

    The InDesign Help app details how to import Microsoft Excel files. Search for Microsoft Excel import options. Everything you need should be there.
    If you use the same table each week, you can make a link to the excel file and simply update it each time it changes, without having to import it each time. In Preferences > Type, under the Links option check the box and InDesign will treat placed text/excel files like images, that can be updated when they change.

  • How do I save my new data into a new .xls file? i am running my VI in a continious mode

    I am using a Data Acquisition Board to get my pressure and displacement signals. Have to measure it continiously. I am able to save the data continiously but not in new XLS file for new experiment. If any of you could hepl me with it

    This depends upon how you are writing it to file. If you are using the "Export Waveforms to Spreadsheet File" VI, then you can actually just open this file with Excel and you will see all of the data fine. That's the easiest way to do it. If you are wanting to write to Excel directly, you can use ActiveX calls to do this. If you choose the latter, I would suggest purchasing the Report Generation for Microsoft Office Toolset for LabVIEW. It provides VIs which write your data directly to Excel files.
    J.R. Allen

  • Integration Broker : Sending peoplesoft Data into JMS queues using  IB

    Hi All,
    I am working on integration of peoplesoft and SOA middleware. I am basically SOA middleware developer. So not much aware at peoplesoft side.
    My requirement is that need to extract information from peoplesoft and send it to third party systems(through JMS queues) and also i explored that Integration broker is going to help in such cases.
    Could you please answer my some of the questions.
    1)How can i extract information of peoplesoft. lets say i need to extract customer data from peoplesoft.
    2) steps to send above extracted customer info to third party system using integration broker.
    It would be sending information to JMS topics.
    So please let me know how we can handle JMS queues in peoplesoft.
    Please refer the related documents for outbound interface strategies.
    Thanks inadvance.
    Edited by: PraveenT2 on Jun 3, 2009 4:06 AM

    Mike,
    Biztalk do have Peoplesoft Adapter. Just configure it and use appropriate Component Interface to push or pull the data.
    Thanks,

  • How do I send string data into DIAdem via a channel?

    Using a TO.DATASHEET reference, ChnValSet doesn't work with strings. It's fine with numbers and dates, just not strings. I'm not sure if the CHT variable is useful for me or not. Thanks.

    Hi Deca,
    You can use the CmdExecuteSync method of the DIAdem.TOCommand interface to set the value of a text channel. For example passing the string "CHT(1,1) := 'test'" as a parameter to the CmdExecuteSync method will set the 1st row of the 1st channel to "test". Please refer to the DIAdem help for more documentation on the CHT function.
    I hope this helps! Please post back if I wasn't clear enough in explaining how to do this or if you have any problems getting it to work.
    Regards,
    Sarah Miracle
    National Instruments

  • Is it best to set waveform graph scale properties before or after sending new data to the graph?

    Hi I'm wondering when is the best time to update waveform graph scale properties.
    I am sampling data every 15 minutes for 192 samples, i.e. 48 hours.  I want to plot these samples with the x scale in absolute time mode so that x scale maximum is the current time and x scale minimum is x max minus 48 hours (172800 seconds).  I also want the intermediate scale markers to be 6 hours apart and to be multiples of whole 6 hours.  e.g. at 06:00, 12:00, 18:00.  This works OK using property nodes but sometimes the intermediate markers are on the 6 hour multiples and sometimes they are at 6 hours after the min scale marker.  e.g. 09:15, 15:15, 21:15.  Is there a way of guaranteeing that the intermediate markers will be on the 6 hour multiples?
    Thanks,
    Neville
    Solved!
    Go to Solution.

    Hi Bryan,
    Thanks for your reply.  I have discovered that I can achieve what I want by using an XY graph instead of a waveform graph.  I want X max to be the current time and X min the be 48 hours earlier with intermediate scale markers on multiple of 6 hours.  The XY graph in the attached VI does exactly that but I can't get the waveform graph to behave as I would like.  Is there a way of getting the waveform graph to behave as I would like?
    Thanks,
    Neville
    Attachments:
    waveform graph x axis scale.vi ‏16 KB

  • Can I just send the data to NIC's buffer in LV? (how to access data link layer?)

    Now, I need to send something over network, yet those are not packed in TCP/IP or IPX packet, them are just some data a device can understand.
    So the problem I met is seems I cann't send the data into NIC's buffer(I can do that in C, yet I want to use LabVIEW to do that)
    And I don't want to do that by using a CIN, every time the program call or exit the CIN,there will be a delay, it's would bring me a bad impace to my application.
    So is there anyone can help me with that? I really need some master can give me a comfirm!

    I'm not an expert on network communication, so maybe you can explain how data can travel on an IP based network without being wrapped in some packets from a protocol like TCP or UDP? Maybe it's possible for LabVIEW to do what you want, or maybe compiling your C code into a DLL (no need for a CIN) and calling that will be fast enough for what you want.
    In any case, I think I can answer one question:
    So, how long would we have to expect LV add/improve these functions? Could it be in next minor update?
    Not likely, nor is it likely to be in any other version soon. LabVIEW is not built to handle this sort of thing any more than PHP or perl are and I don't think NI will change it to be able to do so. For that you have C, which you can call through a DLL. Some DLLs are supported on RT targets as well, but I'm not sure what the criteria are. They are probably listed somewhere on this site.
    I assume that calling a DLL in an RT target will hurt your determinism, but communication code should not be time-critical code, unless your application is an application which requires high speed data transfers and synchronization between different nodes.
    Try to take over the world!

  • I'm using a 1D Arrary with 27 different elements and would like to send those data over UDP Write and UDP Read functions.

    I'm using a 1D array with 27 different elements. I would like to transfer that data over a UDP connection, and read it back by using UDP connections.
    But I would like to read 3 elements at a time (On read side) and send those to 9 different ports.
    Note: the data will go to only one PC with one Network Address)
    * 1st elements (0,1,2) and send to port #XXX to see those 1st 3 elements.
    * continue until the elements reaches up to 27
    This is what I have done but I'm finding myself in pitfalls...
    Send side:
    I'm using a UDP Open connection on send side to send my data. So with selected a Source Port, I have created a UDP Op
    en connection. I�m using only one source port to send all the data across the channel. I would like to read 1st 3 elements and send those data across with an assigned Destination port. I would like to do that for 9 times b/c there are 27 elements in the array. So I�m using a For Loop and setting N count to 9. So I�m not getting any errors when I execute and no answer on the other side at all.
    Read side:
    I�m using a UDP Open connection to read in the data with port #. I�m using while loop to with Boolean inside by making a true all the time. Inside that While loop, I�m using For Loop to read the 3 elements data a time and send to a right port address. (As start out I was just trying to see if it works for only one port).
    Attachments:
    UDP_SEND_1.vi ‏40 KB
    UDP_READ_1.vi ‏31 KB

    You are not getting any errors because UDP is a connectionless protocol. It does not care if anyone receives it. Your example will work fine with the following considerations.
    (1) Don't use the generic broadcast address (255.255.255.255).
    (2) You are listening on port 30000. So why are you sending to port 1502, nobody will receive anything there.
    The destination port of the outgoing connection must match the server port of the listener. (The source port is irrelevant, set ot to zero and the system will use a free ephemeral port).
    (3) On the receiving side, you are not indexing on the received string, thus you only retain the last received element. Then you place the indicator outside the while loop where it never gets updated. :-(
    (4) Do yourself a favor and don't micromanage how the data is sent across. Just take the entire array, flatten it to string, send it across, receive it, unflatten back to array, and get on with the task.
    (You can do the same with any kind of data).
    I have modified your VI with some reasonable default values (destination IP = 127.0.0.1 (localhost)), thus you can run both on the same PC for testing "as is". Just run the "read" first, then every time you run "send", new data will be received.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    UDP_READ_1MOD.vi ‏29 KB
    UDP_SEND_1MOD.vi ‏27 KB

  • Validating only new data

    Hi.
    Is there possible, after disabling constraints, populating new data into tables and enabling constraints again, to validate only new data and not the old one?
    (DB: 10gR2 and newer...)

    Karthick_Arp wrote:
    Your old data are already on constraints. So when you disable and add new data and then enable the constraint the old data will not give you any issue. If at all you have any issue it will be with the new data.May you tell me why you're so sure? I have already read the documentation from boopathi's post and there is nothing mentioned about that.
    From http://download.oracle.com/docs/cd/B28359_01/server.111/b28318/data_int.htm#i4773 :
    Constraint States
    * ENABLE ensures that all incoming data conforms to the constraint
    * DISABLE allows incoming data, regardless of whether it conforms to the constraint
    * VALIDATE ensures that existing data conforms to the constraint
    * NOVALIDATE means that some existing data may not conform to the constraint
    In addition:
    * ENABLE VALIDATE is the same as ENABLE. The constraint is checked and is guaranteed to hold for all rows.
    I am now confused.
    So you mean that when constraint is disabled the SCN of this operation is remembered and during ENABLE VALIDATE only rows with higher SCN are validated?

  • Help! Inserting data  into database

    Hi,
    I have problem in inserting new data into database.
    This is my code used.
    PROCEDURE insert_contact IS
    BEGIN
    GO_BLOCK('BLOCK3');
    first_record;
    LOOP
    insert into LIMS_JOB_LEVEL
         (JOB_LEVEL_CODE,JOB_LEVEL_DESC,LAST_UPD_ID,LAST_UPD_DATE)
         values
         ('FAF','FDSAFS','FDSAF','1-1-01');
         EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE';
         next_record;
    END LOOP;
    END;
    And I cannot insert the data.Can anyone help me to solve this
    problem of mine.
    Thanks a lot.

    I belive this got to do with the date format. There is another
    posting about this after your posting and there are couple of
    good solutions in there for the date formating. Please refer.

  • JSPBrowseEdit..... New Data Input

    New to JDev9.0.3.4... I have no problem creating Browse/Edit "pages" with the wizards. (I am new to this
    product and am diligently trying to learn the ins and outs of jsp tags and this whole new world!).
    My question is how do I present the user with a page
    that provides an "initial" input form with no fields
    filled with data from my db.... in the same way that when
    "new" is clicked in the datatable component. (ie opens
    a page (form) with ability to enter all new data into
    table row)
    thx in advance to my obviously newbie querry!
    ps. suggestions on any books on topic of JSP (Oracle JDev "flavour")
    that a newbie would appreciate would be welcome
    thx D.Moore

    Any specific reason why you are starting to learn JDeveloper using an old version of the tool?
    You can get the 10g(9.0.5.2) version from OTN.
    One of the thing you'll get with this version is visual JSP editing.
    Then this tutorial will show you how to build a JSP page that adds records in 10g.
    http://www.oracle.com/technology/obe/obe9051jdev/ADFtoJSP/defaultendtoend.htm
    For books on JDeveloper check out:
    http://www.oracle.com/technology/products/jdev/collateral/training10g.html

  • How to get new and updated data into LO Excel in Xcelsius

    Dear Experts,
    I have created dashboard on top of webi report by using Live-Office connection. Latest data of webi report is imported into excel and mapped data with components and generated SWF file and exported into server.
    To day my webi report has latest instance with new and updated data. But until unless by clicking "Refresh All Objects" i am not getting updated data into excel.
    When i am trying to open dashboard in BI Launch Pad/CMC it is showing data whatever exist in excel(i.e yesterday data). But here we need to show data of latest instance of webi report.(i.e New and updated data as of now).
    I have selected option "Latest instance: From latest instance scheduled by" in "refresh options".
    My Question & Doubts:
    1) Is it mandatory to open dashboard every day and need to click on "Refresh All Objects" to get updated data into excel or dashboard.
    2) Is there any option to automate this process.
    Regards,
    PRK.

    Hi,
    Schedule the webi report to get the latest data from the source. To answer your query no is doesn't require to open the dashboard every time to refresh the excel to get the latest data.
    Please use the Refresh Before Components are Loaded: Select this option to refresh the data each time the model loads and to use that data as the initial data for the model (using a Reset Button component, it will reset the data to the values from the last time the model was loaded).
    You are using the Live Office  so here automatic refresh is not possible without touch the swf file, you need to use the refresh but to get the latest data. If you are using QAAWS, Web Service & XML then automatic refresh is possible.
    For more information please check the below document for in-depth idea on the design pattern.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b02e31fb-3568-2e10-e78f-92412c3c0a96?overridelayout=t…
    Kindly revert for more clarification!!!
    --SumanT

Maybe you are looking for

  • FM for Opening And Closing Stock for Material

    Dear All,     I need to Calculate the opening and closing stock of the material. If there is any FM for the same just let me know and if not kindly let me know the way out. Regards Amit

  • My 1st Gen won't update to iOS 3? :(

    So, I've been trying to update my 1st Gen to the iOS 3 so I can use apps, and for whatever reason my iTunes not only deleted everything from my iPod, but won't update to the new iOS. So now I have an iPod Touch that doesn't work, and I'm out 5 bucks

  • How do I format the layout of my pages in Iphoto for a book?

    How do I format the layout of my pages in an iphoto for a book?

  • Automatic clearing upon CM creation

    Hi guys, Just want to ask if there's a possibility for automatic clearing of CM created against customers open items in FBL5n while using t-code FB75 (Creation of CM)?  The scenario will be like this...  Before saving the CM created in FB75, there wi

  • Close one CMD window leave the other one open

    I have two CMD windows open runnig a LabVew launched commandline program It is two instances of the iperf program and I found this searching here  taskkill /F /IM iperf.exe That works but it kill both windows. I take it I need to find the PID on the