JSP forms for update with BC4J?

Hi,
For editing a database, the Creating JavaServer Pages with Data Tags tutorial uses templates that generate two forms: one for browsing and one for editing. Does there exist a JSP-BC4J template that would allow browsing and editing in one form. It could be done with one JSP and a servlet generating a HTML form, but does the BC4J framework allow it? I'd like to get the same behaviour as with a JClient Form in the JClient Object category.
Thanks
Jean V.

None of the templates we provide implement this functionality. It is definitly possible and the BC4J framework doesn't place any restrictions on your implementation. You would have to rely on some Dynamic HTML to get a more interactive web page. You may want to take a look at www.insidedhtml.com for some sample Javascript libraries.

Similar Messages

  • SELECT FOR UPDATE with the SKIP LOCK clause

    Hi,
    I have a query regarding the SELECT FOR UPDATE with the SKIP LOCK clause.
    Whether this will be really good for parallel processing.
    Also if we are selecting a set of records in a cursor whether the lock will be done at the records level once we fetch the records?
    Also do we have any known issues with this one?
    We are trying to figure out whether this will fit for business requirement, we are trying to do a implement a threading kind of thing for our stored procedure invocation in background using shell script.
    Any suggestion or feedback on this will be helpful for us.
    Thanks a lot for the support given....
    Regards,
    Basil Abraham.

    http://www.oracle.com/technology/oramag/oracle/08-mar/o28plsql.html
    Please read the above thread for few information...Thanks!

  • Windows Update failed to check for updates with error 0x800B0001

    Hi all,
    I have a WSUS installed on a Windows Server 2008 R2 box, I have a new Windows Server 2012 box (joined to domain) that cannot get updates from the WSUS, whenever I try to search for new updates I receive the following error in event viewer:
    Windows Update failed to check for updates with error 0x800B0001
    Note: I cannot see the Win2K12 server in the WSUS console under computers node.

    I couldn't get it to run even after installing the mentioned KB fixes. So I investigated the error myself, and found a "hack" that seems to fix the issue. Wrote up a small piece on it here:
    http://tplive.azurewebsites.net/2013/12/windows-update-error/
    You and about a thousand other people have reported "I had already installed [the update], but installing it AGAIN fixed the problem.", which is almost assuredly a simple indication that the original installation of the update failed, and you simply did
    not recognize that the installation of the update was not successful.
    The fact that the /selfupdate folder was corrupted (read: missing files) pretty much says it all. There's no bug. Your installation of the update simply failed. (Or, the server wasn't healthy to begin with and you got what you got.)
    Bottom line: The only known cause for a client-side 0x800B0001 error code is that the WSUS server has not been
    properly and completely patched.
    Lawrence Garvin, M.S., MCITP:EA, MCDBA, MCSA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2013)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence R Garvin
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • I hv iPhone with ios 6.0.2 My iphone could not able to check for update-it's just showing "checking for updates" with loading sign How can I upgrade to ios 7?  Help pls

    I hv iPhone with ios 6.0.2
    My iphone could not able to check for update…it’s just showing “checking for updates” with loading sign
    How can I upgrade to ios 7?
    Help pls

    I agree- I apologize if I sounded skeptical and attacking. In no way did I mean it to sound that way.
    I completely agree on the software-hardware combo issue- this is why apple killed off 1G and 2G devices- because newer software revisions would never ever run well if at all on such ancient devices. can you imagine running iOS 6 on an iPhone/iPod touch 1G? That would be terrible. Let alone iOS 3 runs terrible on them and now are generally rendered useless due to newer App Store requirements (most require 4.3+ now to allow apple to kill off the older devices). forcing newer software on older hardware (apple, dell, HP,... Anything electronic this definitely applies to) will almost always yield less-than-par results. The other part is apple forcing you to upgrade by means of intentially making things obsolete. all companies do that.
    All of this factual info aside, the issue at hand with the 5 is not a software-hardware combo problem- those are most widely seen with the major revisions. then again, this isn't the first time apple has gotten caught up in battery drain snafus (even iOS 5 was plagued with this as well- and now there are some people desperate to roll back but can't). it basically waters it down to the point where keeping the stock software will always yield the best results even though newer versions provide better features- it all depends on whether or not the person deems the added features are worth a performance hit.
    PS. I'm still at 100%- and I've been using it periodically throughout the day. your combo worked for you, but didn't for me. And may or may not work for others- As the tech world would say, mileage may vary.
    PSS. What model/carrier do you have? Just wondering.

  • Question: using links in report to copy data into form for update

    Hi there,
    I have a report that selects data from one a table, and i want to populate a form to update the report info and more info that a user will enter into another table. With alot of help I have managed to get the first 3 column fields across by editing the report link, under report attributes -> column link. The values of Item 1 to Item 3 work fine, but how do i get the rest of the info in the other 5 columns across??
    regards

    I think you're trying to reinvent the htmldb wheel.
    Have you tried looking at the wizards that help you do this?
    Anyway, as an example, to populate the form using the pk
    1: create your items on the page, including the PK
    eg P2_EMPNO (PK), P2_ENAME, P2_SAL,P2_DEPTNO
    2: create a page process "on load" that runs if the PK item is not null
    begin
    select ename,sal,deptno
    into :P2_ENAME,P2_SAL,P2_DEPNTO
    from emp
    where empno = :P2_EMPNO
    end;
    3: You now need to write a process that does an update
    after submit
    begin
    update emp
    set ename = :P2_ENAME,
    sal = P2_SAL,
    deptno = :P2_DEPTNO
    where empno = :P2_EMPNO;
    end
    You need to consider how to handle new rows, optimistic locking and a few other things.
    I would suggest that you have a look at the existing form wizard that does all this for you. We can then work around any "limitations" you find.
    Chris

  • JSP forms for PCR's on ERP2005

    Hi,
    I have the opposite problem upgrading to ERP2005 we would like to use our existing JSP forms rather that develop new Adobe forms.
    However when I configure my scenario with an entry type ‘Using JSP iView’ I get an error message in the portal ‘No Adobe Form Is Assigned to the Scenario’ After debugging it is because the template id does not have an entry. – You can only enter a template id if I use the Adobe form config. This to me suggests that its Adobe forms for your PCRs or nothing.
    Has anyone used JSP forms with this version ?

    Are you using MSS iviews that have been delivered to call Adobe PCRs ? - it may be possible via SFP, QISRSCENARIO
    NWDS, Iview properties to change the iview to call JSP - however I am not aware of any documentation providing steps
    to do this or supporting this
    What if you use instead the old MSS iviews that were delivered to call JSPs PCRs
    As I see it JSP forms should be callable if you either use old MSS role entirely or a custom role containing old MSS iviews
    There is another thread which might be of interest in this regard
    Using JSP based PCR forms in ERP2005 rather than Adobe interactive forms

  • For update with order by

    Hello all,
    Does anyone know if "order by" has precedence over "for update"? In other words, using the following query. Will the resulting rows be sorted first and then locked or they will be locked first and then sorted?
    SELECT /*+ cardinality(al 1) use_nl(al t) */ NULL
    BULK COLLECT INTO l_nullvalue_list
    FROM TABLE (i_list) al, my_table t
    WHERE al.id = t.id
    ORDER BY t.id
    FOR UPDATE OF t.id;
    Any help is very much appreciated.
    Regards,
    wf

    This is the case I'm talking about:
    drop table t cascade constraints purge;
    create table t as select rownum id, cast('x' as char(100)) pad
                        from dual connect by level <= 10000;
    drop table t1 cascade constraints purge;
    create table t1(id int);
    -- 1st session
    SQL> lock table t1 in exclusive mode;
    Table(s) locked
    -- 2nd session
    declare
        type t1_type is table of rowid index by binary_integer;
        l_tab t1_type;
    begin
        execute immediate 'lock table t1 in share mode';
        select rowid bulk collect into l_tab
          from t order by dbms_random.value
           for update;
    end;
    -- 3rd session
    declare
        type t1_type is table of rowid index by binary_integer;
        l_tab t1_type;
    begin
        execute immediate 'lock table t1 in share mode';
        select rowid bulk collect into l_tab
          from t order by dbms_random.value
           for update;
    end;
    /Now 2nd & 3rd sessions are blocked by 1st. Let's release that lock:
    -- 1st session
    SQL> commit;
    Commit complete2nd & 3rd sessions are trying to lock rows of table T, and one of sessions fails with deadlock:
    declare
        type t1_type is table of rowid index by binary_integer;
        l_tab t1_type;
    begin
        execute immediate 'lock table t1 in share mode';
        select rowid bulk collect into l_tab
          from t order by dbms_random.value
           for update;
    end;
    ORA-00060: deadlock detected while waiting for resource
    ORA-06512: at line 7If you repeat the same scenario with ORDER BY id, then one session will be waiting for enqueue.
    So, it's all about order in which row locks are acquired.

  • How to SELECT FOR UPDATE with CMP (Oracle)

    The most common database (Oracle) by default uses a scheme that does not fit into any of those isolation levels. A SELECT statement selects data at the start of the transactions, whereas a SELECT ... FOR UPDATE does something quite different. It is essential to do SELECT FOR UPDATEs before updating the row as SELECT does no lock. It's a hack that works well in practice.
    1. Which isolation level is this?
    2. More fundamentally, how an earth is it possible to use this scheme with CMP?! You would have to distinguish load() from loadForUpdate()! Is CMP inconsistent with Oracle?
    This is a pretty big whole in the CMP spec!

    No. thats no goes well.
    Transaction serializable in Oracle uses a optimistic
    concurrency system. And for update is a
    pessimistic concurrency.
    With optimistic: the system is faster but it can fail
    With pessimistic: if doesnt fail (usually;)
    You can solve the proble with many differents systems:
    1. Edit the .xml descriptor files ans change the sql sentences.
    And my prefer one.
    2. Make a new jdbc driver that inherits from the original
    oracledriver.
    The new driver give u in "getConnection()" a new connection class that inherits from the original connection.
    The executestatement and preparestatement adds the
    string "for update" if the stattement was starting by select.
    Configure your container to use the new driver.

  • FOR UPDATE with group functions

    Hi,
    Is it possible to have a select .. FOR UPDATE and in that select using group by and having count? If so, where should be placed the FOR UPDATE clause?
    Thanks

    Hi,
    Update and FOR Update are different functinalities of Oracle.
    Update as name suggest :- update Database records based on the condition we give.
    For Update :- It donot update any Database records, it helps to lock set of columns. we generally use FOR Update in Select query.
    Please refer below link for better understanding on FOR UPDATE function
    http://download.oracle.com/docs/html/B10952_01/o4o00091.htm

  • Issue with showing input forms for update SQL statement

    Hi guys - I'm currently doing a college project and I'm not overly experienced in the area of Java/JSP but I'm having an issue with a project. I have a JSP project inserting, viewing and deleting rows from a database but having an issue getting the update/modify function working in my project.
    If I hardcode values into my variables and launch the project it updates fine, but I believe theres an issue with how I'm calling the existing rows. I wish for the user to be able to view the rows from the database and modify as they wish. Once they submit the modifications, I want the row to be updated. Can anyone see where the problem might exist in my code below? I hope it's something small, but I'm not able to fix it at the moment and would apreciate anyone's help! :)
    The problem I'm facing at the moment is the input boxes for displaying the current rows from the database are not even showing up..
    ModifyNode.jsp:
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <%@page import="suaspackage.NodeManager" %>
    <jsp:useBean id="AddNode" scope="session" class="suaspackage.NodeManager"/>
    <%@ page language="java" %>
    <%@ page import="java.sql.*" %>
    <!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>Suas</title>
        </head>
        <body
        <%! // Class level declarations
            Connection dbCon; // interface type in java SQL
            ResultSet rs; // interface type in java SQL
            String serverName = "localhost";
            String nodeID;
            String valowneremail;
            String valownersms;
            boolean bFirstTime;
            %>
            <%
            bFirstTime = true;
            if(request !=null){
                if(request.getParameter("submit") != null){
                    nodeID = "6";
                    valowneremail = request.getParameter("OwnerEmail");
                    valownersms = request.getParameter("OwnerSms");
                    bFirstTime = false;
                    AddNode.update(nodeID, valowneremail, valownersms);
            %>
            %>
        <%
            try{
            Class.forName("com.mysql.jdbc.Driver"); // SQLServer specifics 1
            dbCon = DriverManager.getConnection( // SQLServer specifics 2
                    "jdbc:mysql://" + serverName + ":3306" + "/suasdb", "root", "9631");
            Statement stmt;
            String sqlString = "select nodeid, node, owneremail, ownersms from nodemanager";
            stmt = dbCon.createStatement();
            rs = stmt.executeQuery(sqlString);
            } catch (ClassNotFoundException e){
                out.write("<B><CENTER><P>");
                out.write("Error loading class for Suas database connection: </P><P>");
                out.write(e.toString());
                out.write("</B></CENTER></P>");
                } catch (SQLException e){
                    out.write("<B><CENTER><P>");
                    out.write("Error accessing Suas database connection: </P><P>");
                    out.write("</B></CENTER></P>");
            if(rs!=null){
        %>
    <jsp:include page="includeheader.jsp" />
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="images/pagemarker_nodemanager.jpg" alt="Node manager" width="176" height="55"></td>
        </tr>
      </table>
             <jsp:include page="includenodemenu.jsp" />
    <TABLE WIDTH="75% BORDER="0" CELLPADDING="5" ALIGN="CENTER">
    <TR BGCOLOR="#9ddc4f">    </TR>
    <br>
    <TR BGCOLOR="#9ddc4f">
      <TH>Node ID</TH>
      <TH>Node</TH>
      <TH>Owner E-Mail Address</TH>
      <TH>Owner SMS Number</TH>
      <TH></TH>
    </TR>
             <%  } else {
                %>
    <% while (rs.next()){
        %>
    <FORM>
    <TR BGCOLOR="#d7eabf">
        <TD><%=rs.getString("nodeid")%></TD>
        <TD><%=rs.getString("node")%></TD>
        <TD><INPUT size="20" type="text" name="OwnerEmail" value="<%=rs.getString("owneremail")%>"</TD>
        <TD><INPUT size="20" type="text" name="OwnerSms" value="<%=rs.getString("ownersms")%>"</TD>
        <TD><INPUT type="submit" name="submit" value="Save"></TD>
    </TR>
    <% }
        %>
        </body>
    </html>
    {code}
    The relevant part of my NodeManger package:
    {code}
        public void update(String updateNodeId, String valEmail, String valSMS) throws ClassNotFoundException, SQLException{
            try{
                String updateSQL;
                String nodeid = updateNodeId;
                String updateowneremail = valEmail;
                String updateownersms = valSMS;
                Connection dbCon;
                Statement stmt;
                ResultSet rs;
                String serverName = "localhost";
                Class.forName("com.mysql.jdbc.Driver"); // SQLServer specifics 1
                dbCon = DriverManager.getConnection( // SQLServer specifics 2
                 "jdbc:mysql://" + serverName + ":3306" + "/suasdb", "root", "9631");
                updateSQL = "update nodemanager SET owneremail='" + updateowneremail + "', ownersms='" + updateownersms + "' WHERE nodeid='" + nodeid + "'";
                stmt = dbCon.createStatement();
                stmt.execute(updateSQL);
            } catch (ClassNotFoundException e){
                throw(e);
            } catch (SQLException e){
                throw(e);
        }{code}
    Edited by: daveomcgee on Apr 9, 2009 8:03 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I support what ThomYork suggests. Learn how to properly separate database/business logic from your view logic. Learn how to use servlets and JSPs together. Read abourt DAO classes. Learn how to build a view in JSPs using taglibs (JSTL to begin with).
    You might think it is too much work, but if you learn this stuff the wrong way now, it is going to be that much harder converting to the clean, readable, reusable and maintainable way later on.

  • Populating Form for Update

    I will try my best to articulate this and hopefully not
    confuse anyone:
    I am trying to create an Event Update form that will allow
    users to update/change Event Names in case one gets mispelled or
    changed. I am bring the EventID into a set of Radio buttons that
    can be selected and I would like for it to PrePopulate a Text Form
    Field so I can send the Update back to CFUPDATE with the EventID
    and EventName. I have tried a couple of ways but I either get 1
    EventID and Multiple EventNames or I get 1 EventID but cannot
    figure out how to populate the textbox with just the one EventName
    to the corresponding EventID to be updated.
    Attached is my code for the Update page with the textbox that
    needs to be populated but is not happening so far.

    I have this is working now. I found the answers from a previous problem titled 'xsql:update-request' Aug 10, 2001.

  • Oracle Syntax for Update with Join

    Can anyone help with the Oracle Syntax on and update that includes a join?
    This is what I've got:
    Update
    (SELECT a.DOCUMENT_NO
    From DOCUMENT_CONTROL a, DOCNOTEST b
    where a.DOCUMENT_NO = b.DOCUMENT_NO)
    set a.PATH = NULL
    Everything I try leads to another error message. With the current code I'm getting the error message: ORA-00971 a.path invalid identifier.
    I am much more familiar with SQL Server (if you can't tell :) This is the way I would write the above in SQL Server.
    UPDATE DOCUMENT_CONTROL
    Set [Path] = ''
    FROM DOCUMENT_CONTROL
    INNER JOIN DOCNOTEST
    ON DOCUMENT_CONTROL.DOCUMENT_NO=DOCNOTEST.DOCUMENT_NO
    where DOCUMENT_CONTROL.DOCUMENT_NO=DOCNOTEST.DOCUMENT_NO
    Does anyone have any advice for me? Thanks in advance

    Alternate syntax since it seems you're not able to update the join...
    update DOCUMENT_CONTROL a
    set
       a.path = null
    where a.path is not null
    and exists
       select null
       from DOCNOTEST b
       where  a.DOCUMENT_NO = b.DOCUMENT_NO
    );

  • Configure forms for running with pure java

    I know the formsweb.cgf file is where I can set this, but does someone has it
    workng with pure java (without jinitiator) and has any problem navigating between fields?
    ths is my java section in formsweb.cfg
    [appjava]
    pageTitle=Forms Version 10.1.2 Java
    form=INIT.fmx
    envFile=javaenv.env
    baseHTML=webutilbase.htm
    baseHTMLjinitiator=webutiljpi.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTMLie=webutiljpi.htm
    webUtilArchive=webutil.jar,jacob.jar
    archive=gif.jar,frmall.jar, laf_1012.jar
    lookAndFeel=oracle
    imageBase=codeBase
    separateFrame=true
    networkRetries=30
    and javaenv.env file (without commented lines)
    ORACLE_HOME=/opt/oracle/ias
    FORMS_PATH=/opt/legadmi/formas:/opt/legadmi/pll:/opt/oracle/ias/forms:/opt/legadmi/webutil/forms
    WEBUTIL_CONFIG=/opt/legadmi/webutil/server/webutil.cfg
    FORMS_RESTRICT_ENTER_QUERY=FALSE
    CLASSPATH=/opt/oracle/ias/forms/java/laf_1012.jar:/opt/oracle/ias/forms/java/gif.jar
    PATH=/opt/oracle/ias/bin
    GRAPHICS60_PATH=
    LD_LIBRARY_PATH=/opt/oracle/ias/lib:/opt/oracle/ias/jdk/jre/lib/i386:/opt/oracle/ias/jdk/jre/lib/i386/server
    it starts java but in some forms i cant navigate between fields,
    any help?
    thanks!

    Solution: migrated to 11g

  • Display lookup value for update in a form field

    OK, this seems like a simple thing to do, but for some reason I can't seem to figure it out.
    I have a table with several foreign keys which are number ids. I've created a form using shared component dynamic LOVs for those fields where the LOV retrieves display values from the foreign key related tables . So far, so good. If I run the form to create a new record, it works fine. But if I call the form from a report with a link column (ala Master-Detail Form) for update purposes, all the data is fetched into the form properly except the foreign key related table LOV display data. The LOV data fetched into the fields is always the first value in the LOV list, and not the value based upon the foreign key values in the record. I want the value displayed to be based upon the foreign key in the record.
    What am I doing wrong?
    Edited by: 950335 on Aug 7, 2012 2:52 PM

    Figured it out.

  • MSS - PCR - launch JSP form from action box

    We have a PCR (leaver request) which is workflowed to an administrator to carry out the HR action. One of the options in the Action Box is to view the form - we're using JSP forms for this (we're using NW04 SP11). I've configured the ISR according to the SAP notes to be able to launch the JSP form for the administrator to view the form.
    When we click the Display Form option the portal is launched as expected, the user logs on, but then a blank screen is displayed - ie not the form...
    The URL that is generated is http://<portalserver>:<port>/irj/portal/<portalcomponent>?SCENARIO=ZCLR&REQUEST_NO=000500000165&MODE=DISPLAY&IFV=P
    Has anyone set this up successfully and can offer any advice?
    Regards
    Ross

    Hi Suresh,
    Thanks for your suggestion, but it still isn't working - the portal is launched with this url but just stops at the user's start page in the portal. We're on 46C. Any other suggestions? Does the portal user (for the administrator) need anything to be able to view the jsp form?
    http://sapportal:50000/irj/portal/zhcm.leaverrequest.default?SCENARIO=ZCLR&REQUEST_NO=000500000168&MODE=DISPLAY&IFV=P
    Cheers
    Ross

Maybe you are looking for

  • Dropdown date fields?

    Hi Folks, I'm new to Acrobat, and am trying to do a favour for a friend by making a fillable .pdf. I'm using Windows 7, and using Acrobat 9 Pro Extended. There's quite a few date fields. I'd like a dropdown for them, where the used can scroll and cli

  • After updating to 7.0 i can't connect

    Skype has stopped working after I updated to 7.0, it freezes when it enters and appear a error message, in the morning with the older version I used the skype, now i can't used it anymore and i don't know why. You cant see the error message in the at

  • T.code FF7B: Liquidity Forecast for Entry and Payment for each House Bank

    Hi All, With reference to the Report FF7B, I need to obtain the Liquidity Forecast for Entry (from Customers) and the Payment (to Vendors) for each House bank. Is it possible? Thanks Gandalf

  • "Mail" Merge for data labels

    I wish to use an Avery template to define the layout of a page and than populate the cells with data merged in from Numbers. I can get the Avery template to work fine I can get the first cell to populate with the first row of my Numbers Document/Tabl

  • Font not found when opening file and not able to resolve, but is listed in the fonts drop down list?

    Hi, i just downloaded some files from a friend and he sent me a link to download the fonts. I did so and 98% of the fonts work, but there are two fonts i am struggling with. When i open the file i get the font missing warning and it asks me to resolv