Prob..in search.. urgent..

i have a problem in the search record from the database..actually my prob is that when user enter a string, if that string found in that particular field in database then it displays values in the jsp page..(this part is working) but if the record of that particular entry is not found in database it should display error...(this part is not working)
my code is as follow:
String enter = request.getParameter("enter");
sql = conn.prepareStatement("SELECT * FROM pay_header,pay_detail where pay_header.vou_no=pay_detail.vou_no and pay_header.vou_no like 'JV%'  and pay_header.vou_no = '" + enter + "'");
results1 = sql.executeQuery();
while(results1.next()) {
vou_no = results1.getString("vou_no");
pay_post = results1.getString("pay_post");
pay_narr = results1.getString("pay_narr");
chq_no = results1.getString("chq_no");
out.println("<FIELDSET>");
out.println("Voucher No: <input type='text'  size=9 value='" + vou_no + "' readonly>");     
out.println("</FIELDSET>");
}

hi abhith ,
What i understand from ur posting is,
You just need to display an error msg when the resultset is empty.
Then you can do this way,
results1 = sql.executeQuery();
if(! results1.next()) throw new SQLException("Sorry No Record Found");
//the rest comes here.
Now in the jsp page either you can cath it and display, or use errorPage .
I hope this may help you.
Post me if this is not the thing you want.
kuttus

Similar Messages

  • Problem with Formatted Search-Urgent

    Hi All, I have a problem as follows:
    I am trying to set up a formatted search in the Batches Setup window of GRPO document. I want to pickup the "Total Created" figure from Rows From Document grid (i.e. the upper grid) in the form. I want to add 100 to it and then to display the result in the "Batch Attribute1" Field in the lower grid i.e. Created Batches Grid.
    Please someone give me the tested query for the purpose..
    Thanks In Advance
    Amol Mangalkar

    Try the next FS:
    SELECT $[$35.38.Number]+100

  • Need to display cancled BPA infor in iProcurement search -Urgent

    Hi All,
    I heard that,If the BPA/BPA line has expired/cancled , it will not show up in the item details on the search in iProcurement.
    But as per our requiremnt, if the BPA or BPA line has expired/cancled we need to display item information, like Shopping category , Supplier sirte, Internal item number and Price(which will display left side of the search result).
    I observed that, when we cancled the BPA line(item) the data is geting purged from icx_cat_items_ctx_hdrs_tlp.
    There is a query in ShoppingVOBuilder.java, which is pulling the item information form icx_cat_items_ctx_hdrs_tlp.
    we got approval to modify the seeded ShoppingVOBuilder.java file.
    is there any solution to display the item information if blanket or blanket line is expired ..
    Thanks
    --Harry                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    You can extend the VO and add a union query and your union query should contain all the items on expired blanket po lines(can get these records from mtl_system_items_b and po_liines_all tables).
    Regards
    Sunny

  • Query prob pls help Urgent

    declare
    cursor c is
    select * from emp;
    d_sal number ;
    k_sal number;
    begin
    k_sal :=d_sal+k_sal;
    for r in c loop
    first_record;
    :empno:=r.empno;
    :sal:=r.sal;
    d_sal:=:sal;
    next_record;
    end loop;
    end;
    result
    sal Cum. result
    100 100
    50 150
    200 350
    pls help

    If you post your problem in a SQL forum, you get a SQL answer.
    If you want a solution for Oracle*Forms, you may have more luck posting it in the [url http://forums.oracle.com/forums/forum.jspa?forumID=82]forum dedicated to Oracle*Forms.
    Regards,
    Rob.

  • TestStand continuously probing its search directories for changes

    TestStand will continuously probe the search directories for any changes to directories, subdirectories, and files.  The sequence and LabVIEW VI's are stored on a file server.  The client test station PC, running the test, loads the sequence and VI's off of the server.  During the execution of the test TestStand will ask the server every couple of seconds if any folders and files within the TestStand search directory listings has changed.  This constant probing of the server files is consuming much LAN bandwidth.  I know this because my IT department has connected a packet sniffer to the network.  We can see the PC, at TestStand's request, is continuously asking the server for folder or file changes.  How can this be deactivated?

    A couple more things to check:
    - Do you have a process model or step type on the network drive?
    - Are you unloading step modules unnecessarily (ie. Unload Option: After Step Executes)?
    You could also pull the network cable out once all the modules and files have been loaded and you aren't expecting it to need any more network files. Then perhaps you would get an error message indicating what file is still being retrieved.

  • Is search broken?

    The "Search this forum only" comes up empty for everything I try.  Yesterday it worked fine.  Anybody else having this problem?

    weird...
    I've never had probs with searching. I do have a different "look" to my forum in general to some others...and its only on one monitor out of 2 hooked up...dont see how that would effect it...but if I type in ann bens here, I get this...
    and everyone is present and accounted for so far as I can tell...thank goodness...
    cause its beer thirty and the Jets are playing soon, and nobody wants some weird cyber stuff during important stuff like that going on.

  • I am getting the "urgent/out of date" notification. However, I have downloaded the "newer version" many times but it does not take. Why?

    Advanced search
    URGENT!
    Your version of Firefox is no longer protected against online attacks.
    Get the upgrade - it’s fast and free!
    About Mozilla

    HI,
    Thanks for the information. I am a bit nervous about the method because I get a "serious" warning when I put the command in the URL. Also, I wonder if you know the answer to this: Someone/Firefox pushed an upload tab to me. That is the best way I can explain what happened. Now, sometimes I get an ! in a triangle, sometimes I get an outdated message with the Firefox logo in place of the ! and sometimes it does not show an icon indicating the program is out of date. When I belly up to the URL and do the commands you mentioned, do you know if all these glitchy things will be taken care of? dmer

  • IOS SLB HTTP Probe

    Hi, I have a simple SLB setup with two servers running in directed mode and two 6509's running IOS SLB to balance between the two. The two servers are web servers and require authentication when hit so I am just testing using a http probe and searching for the 401 code. Is there any gotcha's with configuring the credentials on the 6509 to log onto the webpage? Cheers, Brian

    Can you post the following:
    1. debug ip slb probe
    2. debug ip slb probe conn
    3. debug rtr error
    4. debug rtr trace

  • Combo box in cascading bad performance

    Hi,
    I have 3 combobox cascade [province, states, city]
    And have 3 in ADF BC View Object, using bind variable to filter the SQL from the VO.
    The largest province has 174 states.
    The largest state has 73 cities.
    The selection of the province is 0 sec
    The selection of the state is 10 sec
    The selection of the city is 10 sec
    Value lists the application for a ADF Form for execute method at Application Module.
    I use attribute autoSubmit=true en SelectOneChoice in LOV province and State.
    I test VO in Application Module and this return fast Row.
    I test SQL in SQL Plus and this execute faster.
    Because it can take so long?
    Regards,

    Hi, Shay and Martin
    Probe the cascading LOV according to the link you indicate, the truth that the times improved a lot, but I can not use this form because it is a form to modify or insert data. It is a form for searching.
    Probe ADF Search Form, where I had 2 problems:
    1. I did not find the form that the form is started on "Find mode, without having to press the button" Find "
    2. LOV select the 1st and 2nd updates, but when I select the 2nd. I get an error:
    <RegistrationConfigurator><handleError> Server Exception during PPR, #1
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT distinct SdoLocTazasReaseguros.PROVINCIA,
    SdoLocTazasReaseguros.ZONA,
    SdoLocTazasReaseguros.PARTIDO,
    SdoLocTazasReaseguros.LOC,
    SdoLocTazasReaseguros.GI_FINA,
    SdoLocTazasReaseguros.SOJA,
    SdoLocTazasReaseguros.MAIZ_SORGO,
    SdoLocTazasReaseguros.FQCIAS,
    SdoLocTazasReaseguros.DO_S_AA,
    SdoLocTazasReaseguros.DEDUC_OP_S_AA_DESC_VAR,
    SdoLocTazasReaseguros.DEDUC_OP_S_SAR_DESC_VAR_SEG,
    SdoLocTazasReaseguros.HELADAS_C_DEDUC_20_S_LOTE,
    SdoLocTazasReaseguros.HELADAS_C_DEDUC_20_S_AA,
    SdoLocTazasReaseguros.X2,
    SdoLocTazasReaseguros.Y2,
    SdoLocTazasReaseguros.X,
    SdoLocTazasReaseguros.Y
    FROM SDO_LOC_TAZAS_REASEGUROS SdoLocTazasReaseguros) QRSLT WHERE (( ( (PROVINCIA LIKE :vc_temp_1 ) ) ) AND PROVINCIA = :fbkKy__0)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1138)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:859)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:6314)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1169)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1338)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1257)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1251)
         at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:15641)
         at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:15369)
         at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:15363)
         at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:5238)
         at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:5024)
         at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:5018)
         at oracle.jbo.server.ViewObjectImpl.findByKey(ViewObjectImpl.java:10347)
         at oracle.jbo.server.ApplicationModuleImpl.getListBindingName(ApplicationModuleImpl.java:8724)
         at oracle.adf.model.bc4j.DCJboDataControl.getListBindingName(DCJboDataControl.java:2260)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.getListBindingName(JUCtrlListBinding.java:2798)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.initDefFromServerBinding(JUCtrlListBinding.java:2758)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.initFromServerBinding(JUCtrlListBinding.java:578)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.setupListItems(JUCtrlListBinding.java:678)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.updateValuesFromRow(JUCtrlListBinding.java:2448)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.getSelectedIndex(JUCtrlListBinding.java:1628)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.getInputValueInRow(JUCtrlListBinding.java:3203)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2702)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2691)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlListBinding.getInputValue(FacesCtrlListBinding.java:182)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2273)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.internalGet(JUCtrlListBinding.java:3420)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlListBinding.internalGet(FacesCtrlListBinding.java:240)
         at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:750)
         at javax.el.MapELResolver.getValue(MapELResolver.java:164)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
         at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
         at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
         at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.getProperty(UIXComponentBase.java:1197)
         at org.apache.myfaces.trinidad.component.UIXValue.getValue(UIXValue.java:79)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.validate(UIXEditableValue.java:178)
         at org.apache.myfaces.trinidad.component.UIXEditableValue._executeValidate(UIXEditableValue.java:503)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.processValidators(UIXEditableValue.java:270)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ProcessValidationsCallback.invokeContextCallback(LifecycleImpl.java:1204)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1414)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:191)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:141)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:161)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at ar.com.lacaja.view.cumulos.servlets.ControlarConexion.doFilter(ControlarConexion.java:51)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: fbkKy__1
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:271)
         at oracle.jdbc.driver.OraclePreparedStatement.setNullAtName(OraclePreparedStatement.java:4459)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.setNullAtName(OraclePreparedStatementWrapper.java:1295)
         at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:4685)
         at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3645)
         at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:19288)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1099)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:859)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:6314)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1169)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1338)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1256)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1250)
         at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:15641)
         at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:15369)
         at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:15363)
         at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:5238)
         at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:5024)
         at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:5018)
         at oracle.jbo.server.ViewObjectImpl.findByKey(ViewObjectImpl.java:10347)
         at oracle.jbo.server.ApplicationModuleImpl.getListBindingName(ApplicationModuleImpl.java:8724)
         at oracle.adf.model.bc4j.DCJboDataControl.getListBindingName(DCJboDataControl.java:2260)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.getListBindingName(JUCtrlListBinding.java:2798)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.initDefFromServerBinding(JUCtrlListBinding.java:2758)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.initFromServerBinding(JUCtrlListBinding.java:578)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.setupListItems(JUCtrlListBinding.java:678)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.updateValuesFromRow(JUCtrlListBinding.java:2447)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.getSelectedIndex(JUCtrlListBinding.java:1628)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.getInputValueInRow(JUCtrlListBinding.java:3203)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2702)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2691)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlListBinding.getInputValue(FacesCtrlListBinding.java:178)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2273)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.internalGet(JUCtrlListBinding.java:3420)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlListBinding.internalGet(FacesCtrlListBinding.java:240)
         at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:750)
         at javax.el.MapELResolver.getValue(MapELResolver.java:164)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
         at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
         at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
         at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.getProperty(UIXComponentBase.java:1197)
         at org.apache.myfaces.trinidad.component.UIXValue.getValue(UIXValue.java:79)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.validate(UIXEditableValue.java:178)
         at org.apache.myfaces.trinidad.component.UIXEditableValue._executeValidate(UIXEditableValue.java:503)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.processValidators(UIXEditableValue.java:270)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ProcessValidationsCallback.invokeContextCallback(LifecycleImpl.java:1203)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1413)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:191)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:141)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
         at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:161)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at ar.com.lacaja.view.cumulos.servlets.ControlarConexion.doFilter(ControlarConexion.java:50)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         ... 9 more
    So here comes guys.
    Do not understand why 3 cascading LOV is so complicated, now can not explain this to my client
    I think there is enough room for improvement in ADF Faces, I think is a problem of View or Controller.
    Regards

  • Missing Grid!!

    Hi guys, my grid is missing! i'm currently working on a game, and tried adding menu control buttons; the menu buttons work well, but my grid is now missing!!
    This is really both funny and frustrating.. can anyone tell me what's missing with my code?
    i've already tried to make it as short as possible without actually missing out vital parts of the program (i hope they all are), so please bear with me if it's a bit long.. thanks!
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.awt.GridLayout;
    public class Test extends JFrame implements ActionListener {
    JPanel pane = new JPanel();
    JMenuBar m = new JMenuBar();
    JMenu o = new JMenu("Turns");
    JMenu l = new JMenu("View");
    JMenu h = new JMenu("Help");
    JMenuItem jhelp = new JMenuItem("Help");
    JMenuItem jclassic = new JMenuItem("Classic");
    JMenuItem jmetal = new JMenuItem("Metal");
    JMenuItem jbasic = new JMenuItem("Basic");
    JMenuItem p1 = new JMenuItem("Player 1");
    JMenuItem p2 = new JMenuItem("Player 2");
    JButton b1 = new JButton("");
    JButton b2 = new JButton("");
    JButton b3 = new JButton("");
    JButton b4 = new JButton("");
    JLabel blank = new JLabel("");
    public Test() {
    super("Test");
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    setSize(350, 400);
    setLocation(300,150);
    o.add(p1);
    o.add(p2);
    l.add(jmetal);
    l.add(jclassic);
    l.add(jbasic);
    h.add(jhelp);
    m.add(o);
    m.add(l);
    m.add(h);
    setJMenuBar(m);
    jmetal.addActionListener(this);
    jclassic.addActionListener(this);
    jbasic.addActionListener(this);
    jhelp.addActionListener(this);
    JPanel bottom = new JPanel();
    BorderLayout border = new BorderLayout();
    bottom.setLayout(new GridLayout(2,2));
    bottom.add(b4);
    bottom.add(b1);
    bottom.add(b2);
    bottom.add(b3);
    bottom.add(blank);
    pane.add(bottom);
    setVisible(true);
    public void actionPerformed(ActionEvent evt) {
    Object source = evt.getSource();
    if (source == jmetal) {
    try {
    UIManager.setLookAndFeel(
    "javax.swing.plaf.metal.MetalLookAndFeel");
    SwingUtilities.updateComponentTreeUI(this);
    } catch (Exception e) { }
    if (source == jbasic) {
    try {
    UIManager.setLookAndFeel(
    "javax.swing.plaf.basic.BasicLookAndFeel");
    SwingUtilities.updateComponentTreeUI(this);
    } catch (Exception e) { }
    if (source == jclassic) {
    try {
    UIManager.setLookAndFeel(
    UIManager.getSystemLookAndFeelClassName());
    SwingUtilities.updateComponentTreeUI(this);
    } catch (Exception e) { }
    if (source == jhelp) {
    JOptionPane.showMessageDialog(null,"Test.");
    repaint();
    public static void main(String[] arguments) {
    TestHotelo frame = new TestHotelo();
    }really need help.. thanks a lot!

    oh, right, you don't.. already removed it and simply used bottom JPanel.. thanks!
    and i found the answer to my prob.. searched for methods and i came across this one:
    this.getContentPane().add(bottom); my code's running great now; sorry for that.. i guess i was just too tired i panicked when my grid disappeared and couldn't find the answer right away.. thanks a lot anyway..
    ..and i'll try to add more details next time as well.. :p

  • Cannot log in to music store

    I'm having no probs accessing, searching and previewing tracks in music store, but when I wen't to log in to my apple account to download music it keeps throwing me back with invalid username/password or error codes (-50 and -90 so far).
    I've recently rebooted my computer but the overall settings haven't been altered to what they were previously and now I cannot access my account.
    I'm able to log in successfuly thru the apple website, and i was able to authorise the computer when I first reinstalled itunes.
    So confused!
    Help!

    And I have the same problem too! I only tried to log in for the first time today because I just bought my ipod nano, so I was initially worried. But now that I see that lots of people are having the same problem, I guess I'm doing nothing wrong, so that at least is a comfort!
    We will all have to try again tomorrow, I guess...

  • Further problem with ArrayLists

    Dear all,
    I am having trouble with my Java assignment, where we have to create a library system. I have two ArrayLists:
    - One to hold objects of type Borrower
    - One to hold objects of type Book
    These work fine, i can add and delete from them. However, i apparently need to create a third ArrayList where details of the borrowing is held i.e. where the details which borrower has which books.
    Can anyone point me in the direction of how i can go about implementing this? Im completely stuck, and do not know where to begin!
    Here is my code so far for the classes involved: The borrower and books are super classes, but i dont think i need to give the subclass details....any help is very much appreciated, thank you in advance!
    Library class:
    import java.util.*;
    import java.util.Scanner;
    import java.util.Iterator;
    * @author Mr. Balls
    public class Library {
        private ArrayList bookList = new ArrayList();
        private ArrayList borrowerList = new ArrayList();
        private ArrayList loansList = new ArrayList();
        int totalLoans = 0;
        public Library(ArrayList bookList){
            this.bookList = bookList;
        public Library(){
        public void addBook(){
            String title, author;
            int catNumber, noCopy;
            Scanner scan = new Scanner(System.in);
            System.out.println("Enter the title of the book: ");
            title = scan.nextLine();
            System.out.println("Enter the name of the author: ");
            author = scan.nextLine();
            System.out.println("Enter the catalogue number: ");
            catNumber = scan.nextInt();
            System.out.println("Enter the number of copies: ");
            noCopy = scan.nextInt();
            //need to differentiate between standard and reference books here
            bookList.add(new Book(title,author,catNumber,noCopy));
        }//addBook
        public void addBorrower(){
            String name;
            int libNumb, type;
            Scanner scan = new Scanner(System.in);
            System.out.println("Enter borrowers name: ");
            name = scan.nextLine();
            System.out.println("Enter library number: ");
            libNumb = scan.nextInt();
            System.out.println("Enter borrower type ");
            System.out.println("1: Student ");
            System.out.println("2: Lecturer ");
            type = scan.nextInt();
            if(type == 1){
                borrowerList.add(new Student(name, libNumb));
            else{
                borrowerList.add(new Lecturer(name, libNumb));
        public void printBooks(){//temp method to check everything works
            int size;
            size = bookList.size();
            for (int i = 0;i < size;i++){
                System.out.println(bookList.get(i));
            size = borrowerList.size();
            for (int i = 0;i < size;i++){
                System.out.println(borrowerList.get(i));
        public void deleteBook(){
            String searchTitle;
            Scanner scan = new Scanner(System.in);
            System.out.println("Enter the book title you wish to delete: ");
            searchTitle = scan.nextLine();
            ListIterator it = bookList.listIterator();
            while(it.hasNext()){
                Book book = (Book) it.next();
                if(book.title.equals(searchTitle)){
                    it.remove();
                return;
                }//if
            } //while
        }//deletebook
        public void deleteBorrower(){
            String name;
            Scanner scan = new Scanner(System.in);
            System.out.println("Enter the name of the borrower you wish to delete: ");
            name = scan.nextLine();
            ListIterator it = borrowerList.listIterator();
            while(it.hasNext()){
                Borrower borrower = (Borrower) it.next();
                if(borrower.name.equals(name)){
                    it.remove();
                return;
                }//if
            } //while
        }//deleteborrower
    }//libraryBorrower class:
    public class Borrower {
        protected String name;
        protected int libNumb;
        public Borrower(String name, int libNumb){
            this.name = name;
            this.libNumb = libNumb;
        public Borrower(){
        @Override
        public String toString(){
            String result;
            result = "Name: " + name + "\n";
            result += "Library Number: " + libNumb + "\n";
            return(result);
    }Book:
    public class Book {
        protected String title;
        protected String author;
        protected int catNumber;
        protected int noCopy;
        public Book(String title, String author, int catNumber, int noCopy){
            this.title = title;
            this.author = author;
            this.catNumber = catNumber;
            this.noCopy = noCopy;
        public Book(){
        @Override
        public String toString(){
            String result;
            result = "Title: " + title + "\n";
            result += "Author: " + author + "\n";
            result += "Catalogue number: " + catNumber + "\n";
            result += "Number of copies: " + noCopy + "\n";
            return(result);
    }

    Well, i got so far as creating a new ArrayList!
    What I am struggling with is searching an ArrayList using its inbuilt methods - do i have to use an iterator?
    I want to ask the user to input a library number (no probs) then search the Borrowers ArrayList to find the Borrower with that library number. The i want to ask the user to input a book title, search the Book ArrayList and find the book with that title. Finally i want to add the two together to create the borrowing details.
    Not much huh :)

  • Sharepoint 2013 Server Search Not Working, URGENT!!

    Hi thr,
    im a current sharepoint 2013 server user and im facing a severe problem with sharepoint now, i cannot search using the search bar 
    And the Search Service Application keeps giving me this error, 'The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component in search application ‘Search Service Application’
    is in a good state and try again. '
    I have tried every possible way including creating new search service application, restarting the services , everything i had already tried but its still not working and keep giving me errors
    Anyone can help me? its very urgent here, thanks

    Can you check out the patch status of the servers? If you've got auto-update on the servers and something for SharePoint has been downloaded and installed, it might need to be configured still. Either the PS Config (as suggested below) or the Set-up wizard
    will take care of this
    Additionally, the TechNet Wiki has something that might help you out
    http://social.technet.microsoft.com/wiki/contents/articles/22838.sharepoint-2013-the-search-service-is-not-able-to-connect-to-the-machine-that-hosts-the-administration-component.aspx
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Searching for the fields of a table(very very urgent)

    Hi all,
    i am in graet trouble now.i am searching for the fields like
    1)country of origin where the finished good is created.
    2) customer sales order number
    3)customer sales order line number
    i am writing a report for delivery order.in this report i have to refer customer PO & customer SO .
      i mean, my company has a customer ( seagate) & seagate has a customer (let maxtor).initially maxtor will give a PO to seagate then seagate will raise a SO againest maxtor.
       Then seagate will send PO number(of maxtor), PO line number,SO number(seagate), SO line number(seagate) to our company.
       Then i have to write a report for sales order & delivery order.in these reports i have to refer seagate PO number & seagate SO number for reference.
    i got PO number as vbkd-bstkd but not getting any field for reference Sales order.plz advice me on this. it is very very urgent.
    ur idea is highly appreaciated.
    Thank u very much.
    Regards
    pabitra

    check out tables VBAK(sales order header), VBAP(sales items)

  • Urgent + Search a delimited file for more then one string

    Hi All
    Urgent please help I am trying to search a file for 2 different strings.
    This is how the command prompt will look like
    java match "-t|" -4 -f Harvey -10 -f Atlanta callbook.txtPlease help me with identifying how many search criterias have been entered on command prompt.
    "-t|" - denotes a delimiter
    -4 - denotes the field number
    -f - case sensitive
    Thanks

    Hi
    Thanks for your quick response and I apologise I will never put urgent on my posting again.
    C:\>java match "-t|" -4 -f Harvey -10 -f Atlanta callbook.txt
    This example lists records for Atlanta with first name Harvey.
    I am able to get one search criteria but when I have 2 as above (Harvey and Atlanta) I get lost I do not know how to get these arguments from the commandline and still do a search correctly. My code at the moment is doint a hard coded search so I was trying to extract the arguments that's where I got stuck.
    The main aim of my app is to search a delimited file for a search criteria passed through a command prompt.
    This is what I have done so far.
    import  java.io.*;
    import java.util.*;
    public class assess1
        static public void main(String args[])
            int[] totals = new int[10];
            try
                BufferedReader inFile = new BufferedReader(new FileReader(args[0]) );
                try
                    String line;
              String StrSearch = "HARVEY";
              int counter = 0;
                    boolean foundIt = false;
                    while((line = inFile.readLine()) != null)
                     // search for the string
                      String[] values = line.split("\\|");
                       for (String str : values) {
                   if (str.equals("HARVEY")) {
                               System.out.println(line);
                             System.out.println();
                        counter++;
              if (counter == 0) {
                   System.out.println("String not found");
              inFile.close();
                catch(IOException e)
                    System.err.println("IO exception");
                    System.exit(1);
                catch(NumberFormatException e)
                    System.err.println("Value " + e.getMessage() + "not numeric");
            catch(FileNotFoundException e)
                System.err.println( "Couldn't open " + e.getMessage() );
                System.exit(1);
    }

Maybe you are looking for

  • QT opens when I click to open PDFs

    I upgraded to QT Pro last week and now when I try to open PDF files with Adobe Reader, QT starts and displays the document. This document can't be zoomed, scrolled, or printed. I have checked for preferences in QT and Reader and can't determine where

  • In a macbook pro i7 2.66 with DDR3 1066 MHz ram, mid 2010 I can put two 8GB ram each, I gained speed or recommend

    In a macbook pro i7 2.66 with DDR3 1066 MHz ram, mid 2010 I can put two 8GB (1333 MHZ) ram each, I gained speed or recommend, or is it better for me to stay with 8GB, 4GB memory in two 1066 each

  • Placing button on a video asset rather than menu asset?

    Is it possible in iDVD to place a button on a video asset rather than a menu asset? Is it possible to have "invisible" buttons (ie a button with no associated subpicture). I'd like to be able to have an invisible button present during a chapter on a

  • Call 2D subset array problem

    Hello everyone if I have 2D array with m row and n column i need to call to subarray by x row and x column for each 1 iteration  for example, if an array is 1  1  2  2  3  3  4  4   5  5 1  1  2  2  3  3  4  4   5  5 6  6  7  7  8  8  9  9  10 10 6  

  • F4 HELP ON TWO DIFFERENT FIELDS OF A SCREEN .

    Hi Experts , I have a screen  in which i have to aply f4 help on two different fields . 1. Bussiness unit 2. SAP GL Account . I  have applied for  Bussiness unit. by : PROCESS BEFORE OUTPUT. MODULE STATUS_1013. PROCESS AFTER INPUT. MODULE USER_COMMAN