HTMLEditorKit and POST

Hi,
I am displaying a html page/form in a JEditorPane.
This is used for file upload.
However, inspite of specifying the enctype to be multipart/form-data, the data sent to the servlet is not in multipart format.
Does anyone know what exactly happens when the submit button is clicked for a form displayed in JEditorPane?
Thanks,
Priya

Did you ever figure this out? I am trying to use a JEditorPane to submit form data, and the data does not appear to be submitted.
John
[email protected]

Similar Messages

  • Problem with "SELECT...FOR UPDATE OF..." and "POST command" combination

    Problem with "SELECT...FOR UPDATE OF..." and "POST command" combination
    Problem in committing transactions in Multiple Forms (Oracle Forms) with POST built-in command:
    Consider that the following statements are written in WHEN-WINDOW-CLOSED trigger of a called form.
    Statements in called form (Form name: FORM_CHILD):
    go_block('display_block') ;
    do_key('execute_query') ;
    -- Data from table_b will be populated in this block, based on the value of COLUMN_1 obtained
    -- from TABLE_A.
    -- Example: If the value of COLUMN_1 is 10, then all the matching records from TABLE_B, which
    -- are inserted with value 10 in TABLE_B.COLUMN_1 will be fetched and shown here.
    if user_choice = 'YES' then
    commit ;
    else
    rollback ;
    end if ;
    Statements in calling forms:
    There are two calling forms having following statements and it is going to call the above said called form.
    CALLING FORM 1
    Statements in KEY-COMMIT trigger:
    post;
    call_form(form_child, no_activate) ;
    Statements in ON-INSERT trigger:
    select column_1
    from table_a
    for update of column_1
    where column_2 = 'X' ;
    update table_a
    set column_1 = column_1 + 1
    where column_2 = 'X' ;
    insert into table_b ...;
    insert into table_b ...; Statements in KEY-COMMIT trigger:
    post;
    call_form(form_child, no_activate) ;
    CALLING FORM 2:
    Statements in ON-INSERT trigger:
    select column_1
    from table_a
    for update of column_1
    where column_2 = 'X' ;
    update table_a
    set column_1 = column_1 + 1
    where column_2 = 'X' ;
    insert into table_b ...;
    insert into table_b ...;
    insert into table_b ...;
    Our understanding:
    Assume that both the forms are running from two different machines/instances, issuing commit at the same time. In this case, forms will start executing the statements written in ON-INSERT trigger, the moment POST command is executed. Though the commit is issued at the same time, according to oracle, only one of the request will be taken for processing first. Assume that calling form 1 is getting processed first.
    So, it fetches the value available in COLUMN_1 of TABLE_A and locks the row from further select, update, etc. as SELECT...FOR UPDATE command is used (note that NOWAIT is not given, hence the lock will be released only when COMMIT or ROLLBACK happens) and proceed executing further INSERT statements. Because of the lock provided by the SELECT...FOR UPDATE command, the statements in calling form 2 will wait for the resource.
    After executing the INSERT statements, the FORM_CHILD is called. The rows inserted in to TABLE_A will be queried and shown. The database changes will be committed when user closes the window (as COMMIT is issued in its WHEN-WINDOW-CLOSED trigger). Then the SELECT...FOR UPDATE lock will be released and calling form 2's statements will be executed.
    Actual happenings or Mis-behavior:
    Calling form 2 starts executing INSERT statements instead of waiting for SELECT...FOR UPDATE lock. Also, the value selected from TABLE_A.COLUMN_1 is same in both the calling forms, which is wrong.
    The rows inserted into TABLE_B are having similar COLUMN_1 values in calling form 2 and they are fetched and shown in the called form FORM_CHILD.
    Note that in calling form 2 also POST only is issued, but the changes posted there are accessible in calling form 1 also, which is wrong.
    Kindly suggest us as to how to fix above problem. It will be much use, if you can send us the information regarding the behavior of Oracle Forms POST built-in also.
    Our mail ID: [email protected]
    Thanks a lot in advance.

    You have several problems:
    1. On-Insert will ONLY run if you have created a new record in a base-table block. If you haven't done that, then the POST command will not cause it to run.
    2. Select for update without a "no wait" will lock records for the first form, but when the second form tries this, it will hit the ORA-00054 exception, and will NOT wait. The only way you could make it wait is to issue an UPDATE sql command, which is not such a good way to go.
    All POST does is issues SQL insert or update commands for any changes the user has made to records in a form's base-table blocks, without following with a Commit command.
    Also understand that Commit is the same as Commit_Form, and Rollback is the same as Clear_Form. You should read up on these in the Forms help topics.

  • GR with Excise Capuring and Posting ( Movements 103 and 105 )

    Hi
    We have the requirement like .
    1. we have the Business requirement like GR 103 and 105 movements types .
    our requirement: while doing GR with Movement type 103 will capture the Excise . While releasing Blocked stock to unrestricted will post the excise . please advise me how to configure .
    thanks
    @sakhi

    Hi Sakhi,
    When you post 103 the system takes it as GR blocked stock,not a valuated stock in plant.
    But you can capture excise invoice at the time of 105 --i.e Release blocked stock and Post the same in J1IEX  transaction.
    With Regards,
    Vijaykumar Panchagattimath

  • Close open items and post balance

    Hi,
    Do we have any standard reports or programs which will consolidate all the customer open items. I mean clear all the open items and post a sperate transaction with new balance. This is not for fiscal year balance forwarding but has to be done every week for our client.
    Please do reply with any suggestions on how to do this. I am due to provide the solution for this.
    Regards,
    Satya

    Thank you for your replies.
    I have no idea about this report. Does this report generate balance of all open items till date instead of due in 8 or 20 days? Becz, the balance generated with this report is not matching with the balance on FBL5N.
    Also, what is the difference between F-30, F-32, F13E and S_ALR_87012178 report. What is the purpose of these and against what is this cleared?
    Please reply how these work. I need to see if any of these can be replaced with the custom program my client has.
    Regrads,
    Satya

  • GR/IR from miro document and posting date.

    Hi experts,
    Is there any proper way to selecting data.
    My purpose is getting GR/IR on Miro Document and Posting date basis.
    THE CODE IS.
    TABLES : bkpf, rseg, bseg.
    DATA : BEGIN OF it_bkpf OCCURS 0.
            INCLUDE STRUCTURE bkpf.
    DATA : bbelnr TYPE bkpf-belnr,
          bgjahr TYPE bkpf-gjahr.
    DATA : END OF it_bkpf.
    *data : it_bkpf like bkpf OCCURS 0 WITH HEADER LINE.
    DATA : it_rseg LIKE rseg OCCURS 0 WITH HEADER LINE.
    DATA : it_bseg LIKE bseg OCCURS 0 WITH HEADER LINE.
    DATA : bbelnr TYPE bkpf-belnr.
    DATA : bgjahr TYPE bkpf-gjahr.
    DATA : bawkey TYPE bkpf-awkey.
    data : dmbtr1 type bseg-dmbtr.
    data : dmbtr2 type bseg-dmbtr.
    PARAMETERS : p_budat LIKE bkpf-budat.
    SELECT SINGLE * FROM bkpf
      WHERE budat = p_budat
      AND blart = 'RE'.
    WRITE :/ bkpf-awkey(10).
    WRITE :/20 'I/R'.
    WRITE :/20 sy-uline(30).
    SELECT * FROM bseg
      WHERE belnr = bkpf-belnr
        AND gjahr = bkpf-gjahr.
      IF bseg-shkzg ='H'.
        bseg-dmbtr = bseg-dmbtr * -1.
      ENDIF.
        dmbtr1 = dmbtr1 + bseg-dmbtr.
      WRITE :/20 bseg-belnr, bseg-dmbtr.
    ENDSELECT.
    bbelnr = bkpf-awkey(10).
    bgjahr = bkpf-awkey+10(4).
    SELECT SINGLE * FROM rseg
      WHERE belnr = bbelnr
      AND gjahr = bgjahr.
    SKIP 2.
    CONCATENATE rseg-lfbnr rseg-lfgja INTO bawkey.
    SELECT SINGLE * FROM bkpf
      WHERE awkey = bawkey.
    WRITE :/20 'G/R'.
    WRITE :/20 sy-uline(30).
    SELECT * FROM bseg
      WHERE belnr = bkpf-belnr
        AND gjahr = bkpf-gjahr.
      IF bseg-shkzg ='H'.
        bseg-dmbtr = bseg-dmbtr * -1.
      ENDIF.
        dmbtr2 = dmbtr2 + bseg-dmbtr.
      WRITE :/20 bseg-belnr, bseg-dmbtr.
    ENDSELECT.
    dmbtr1 = dmbtr1 - dmbtr2.
    skip 2.
    write :/ dmbtr1.

    self solved

  • Default key date, Document date and posting date needs to be changed automa

    Hi Experts,
    The user wants to create a variant for Foreign currency valuation, wherein the default key date, Doc date and Posting date needs to be changed every month automatically. Is it possible?
    Please let me know your thoughts.
    Warm regards,
    Murukan Arunachalam

    Hi
    Please follow this process.
    Only specify fields that should be changed
    Select these fields by entering an X in the checkboxes
    Enter a U in the UPDATEFLAG field
    Always specify key fields when changing the data, including in the checkboxes
    The configuration is an exception here. If this needs to be changed, you need to complete it again fully.
    Maintain quantities and dates in the schedule line data.
    1. Minimum entry:
    You must enter the order number in the SALESDOCUMENT structure.
    You must always enter key fields for changes.
    You must always specify the update indicator in the ORDER_HEADER_INX.
    2. Commit control:
    The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.

  • Created site in iweb 08 and posted to netfirms... the pages are all loaded up but there is no nav bar, it comes up on each page as a small black dot. How do I get the nav bar to load up and show?

    I created site in iweb 08 and posted to netfirms... the pages are all loaded up but there is no nav bar, where the nav bar should be is only a small black dot on each page. How do I get the nav bar to load up and show? It was a disaster loading up my site as it changed the case of the letters and at first no pages were seen, so I had to go through and change the letters that were supposed to be cap, back to cap in every file. I don't know if this has something to do with it or not. The tech support doesn't have an answer. Please let me know if you have any ideas and solutions. Thanks bunches!

    Here are links to the simple 7 pages....
    http://www.rednosedesign.net/home.html
    http://www.rednosedesign.net/about_us.html
    http://www.rednosedesign.net/logos.html
    http://www.rednosedesign.net/flyers_&_ads.html
    http://www.rednosedesign.net/notecards.html
    http://www.rednosedesign.net/business_cards.html
    http://www.rednosedesign.net/contact_us.html

  • Why can not freeze book inventory Storage location and Posting block?

    Hello,
    I tried to freeze book inventory storage location and posting block at storage location level in SAP.
    1) OMBP -> "Freeze book inventory storage' is checked at that storage location.
    2) MI01 -> the 'Posting Block' and 'Freeze book inventory' in the Physical Inventory Document  is checked.
    3) Post the Physical Inventory Document by using MI02.
    But, I am still able to post inventory movement at that storage location after executing the above.
    (I run MB1C with movement type 501 at that location.
    I input the material number which are in the created Physical Inventory document.
    The posted manterial document is created after I run MB1C.
       The document date and the posting date in MB1C are the same date of Physical Inventoery Document.
    I can see this material inventory movement from MB51!! )
    My question is:  Why SAP is allowed to execute the inventory movement after the 'freeze book inventory storage location' and 'Posting block' are checked at OMBP and MI01 ?
    Any idea?
    Help me, thank you.
    Regards,
    Sylvia Chen

    Problem solved.  Thank you for all help!!

  • Storage location and post.chge storage location not in the same warehouse

    Hi All,
    We have HU managed Storage Location, and in this Storage Location we have SUT managed Warehouse, Now while Goods Receipt we have to create inbound delivery, which is working fine and i can see my stock in Goods receipt area,, later on whicle creating Transfer Order to putaway in a bin i have a error message "Storage location and post.chge storage location not in the same warehouse" please help me with this error message. Thank you for all your inputs.
    Regards
    Samuel

    Hi Nagesh,
    Thank you for the input. I am receiving Stock from vendor and while creating Inbound delivery i created the Handling Unit and also packed it and i could also post it (PG Receipt). Now when i am creating TO i have that error message. The Storage Location where i am receiving is 9001and i have also maintained the partner Storage location,,, its like this Plant(1000)-SLoc(9001)-Partner SLoc(9002).... now the Storage Location 9002 is not HU managed,, the reason i gave this Storage location is, initially i gave 9001, but system said "Storage Location 9001 and 9001 must have different management systems". So now kindly tell me what is the purpose of the partner Storage location and which storage location should i give, as my partner Storage location across "1000-9001-????" thank you again for ur inputs.
    Regards,
    Samuel

  • Difference between Parked invoice and posted park invoice.

    Dear All,
    I am trying to create a new program to extract the invoices posted by MIRO and MIR7.  I have no problem to find invoices posted by MIRO in RBKP and RSEG.
    However, as currenty one user will use MIR7 to park invoices and another user will use MIRO to post the invoices, I don't know how to sparate the parked invoice and posted park invoice. C's I have found that the parked not posted invoice and posted park invoice were all displayed in RBKP with transaction code MIR7.
    Thank you very much
    Emma

    Hi,
    *Park*
    If the Invoice document is missing some information that is required for posting. In this case we will park the document. Here some preliminary checks will be performed.  Balance might not be zero.But in this case updates were performed.
    *Post*
    The invoice was posted online and verified as being correct(Balance must be Zero). Updates were made.
    Please use RBKP-RBSTAT field to find out the different type os status.
    I hope this helps.
    Regards
    Ravinagh Boni

  • Excise duty /quantity capture and post

    hi
    i did MIGO for particular material. I cannot maintain condition and j1id for that material. But vendor send me Excise invoice for that .Then how i will  capture and post the quantity and duty now?
    i cannot cancel MIGO bcaz stock is consume through quality managment.
    help me
    sunil

    Hi Sunil,
    maintain J1ID for that amterial and capture the E.I. with ref to material document with t-code J1IEX
    Hope this will resolve ur query

  • Excise duty capture and posting..?

    Hi all
    Can anybody explain me about , excise invoice capture and posting ..
    What is capture and posting excise invoice in CIN..?
    1.When we capture excise duty..? were it wil go
    2.When we wil post the same..? were it wil go
    Thanks
    sap-mm

    HI,
    Capturing Excise invoice means you are updating excise register Part1 on quantity basis.(Inward movement of goods like purchasing of raw material.)
    Posting the excise is updated on value basis, in this RG23part2 rgister is been updated .it has financial implication.
    Example:
    In MIGO transaction itself, you can post Excise by choosing Capture and Post Excise Invoice. The FI document will be as follows:
    RG23A Basic Excise Duty A/c Dr
    RG23A Education Cess A/c Dr
    To CENVAT Clearing A/c
    After doing MIGO, you execute MIRO. In this transaction also, SAP will generate FI document automatically. The entry will be as follows:-
    GR/IR Clearing A/c Dr
    CENVAT Clearing A/c Dr
    VAT Setoff A/c Dr
    To AP-Vendor A/c
    Regards,
    Biju k

  • Multiple Forms in a Flash Document and Posting Using ASP

    Hello everyone!
    I have some what of a dilemma on my hands. I am creating
    multiple forms in one document using Flash and need them to post
    using ASP script. I have been researching this for the last six
    days, and I have had NO luck. I have noticed that all the
    information that I have found is for one form, not more than one.
    What I have so far is the Flash document, with 4 forms. The
    basic idea is that a user chooses from a drop down menu (the
    combobox) a location, and depending on the location chosen, it
    takes the user to another frame in the flash document. The forms
    (all their own movie clip) contains a name field, a department
    field, and either a manager name a userID field or an employee
    number as well as the basic buttons for submitting the form or
    resetting the form.
    So far what I have working is the drop down menu (combobox)
    taking me to the proper frame and it shows the appropriate form.
    The reset button clearing the form (deleting any information that I
    have imputed into the input fields), but I have absolutely NO idea
    how to get the submit button to work (I did manage to get it to
    send me a message if there was nothing in one of the input fields),
    and NO idea how to get the information to the ASP file.
    Where there are 4 forms do each of them have to have their
    own ASP file attached to them, or can I use one?
    If anyone knows a site that deals with multiple forms in one
    SWF and posts using ASP that would be greatly appreciated, or if
    you know some actionscript that could be helpful.
    Thank you all in advance.

    That would be part of my problem, I really don't know ASP,
    and I am flying by the seat of my pants.
    The current script I have for the ASP file is:
    <% @Language = "VBScript" %>
    <%
    Option explicit
    Dim strfullName
    Dim strdeptName
    Dim strmanagerName
    Dim strobjeemail
    Dim strlocation
    strfullName.Request.Form("fullName_txt")
    strdeptName.Request.Form("deptName_txt")
    strmanagerName.Request.Form("managerName_txt")
    strlocation.Request.Form("locationName")
    Set strobjemail = CreateObject("CDO.Message")
    strobjemail.From = "[email protected]"
    strobjemail.To = "[email protected]"
    strobjemail.Subject = "Program from " + strlocation
    strobjemail.Body = "This user has completed this progrmam
    from " + strlocation & Chr(13) & Chr(10) & "Name: " +
    strfullName & Chr(13) & Chr(10) & "Department: " +
    strdeptName & Chr(13) & Chr(10) & + "Manager: " +
    strmanagerName
    strobjemail.Send
    Set strobjemail=nothing
    %>
    The AS code that I have so far is:
    function formValidationChecks(){
    if (fullName_txt.length==0){
    status_txt.text = "Please enter your Name";
    else if (deptName_txt.length==0){
    status_txt.text = "Please enter your Department";
    else if (managerName_txt.length==0){
    status_txt.text = "Please enter your Manager";
    else {
    status_txt.text = "Thank You!";
    variables.fullName_txt = fullName_txt.text;
    variables.deptName_txt = deptName_txt.text;
    variables.managerName_txt = managerName_txt.text;
    varLoader.load(varSend);
    trace("-----");
    trace("Name: "+fullName_txt.text);
    trace("Department: "+deptName_txt.text);
    trace("Manager: "+managerName_txt.text);
    trace("Form validated");
    submit_btn.onRelease = function(){
    status_txt.text = "";
    if(formValidationChecks()){
    var lv = new LoadVars();
    lv.fullName_txt = form.fullName_txt.text;
    lv.deptName_txt = form.deptName_txt.text;
    lv.managerName_txt = form.managerName_txt.text;
    lv.sendAndLoad("mail.asp", lv, "POST");
    reset_btn.onRelease = function()
    fullName_txt.text = "";
    deptName_txt.text = "";
    managerName_txt.text = "";
    So far my reset button clears everything, and the submit
    button is tracing the content in the form fields, but it's not even
    grabbing the asp page.
    Any suggestions? Even pages that have tutorials that are in
    the form of a video.
    Thanks

  • Error in documents parking and posting

    Hello,
    After I parked the document of vendor payment using F-65 , While I validate and post the documents using FBV0 I met a error as following:
    " Formatting error in the field BSEG-PRCTR; see next message
    Message no. 00298
    Diagnosis
    During batch input or when executing CALL TRANSACTION... USING a screen field was filled with an invalid input format.
    System Response
    Processing was terminated.
    Procedure
    The screen field has the technical name BSEG-PRCTR . The cause of the error is described in the following message.
    Correct  the appropriate BDC data."
    How can i add the field profit center in F-65 of in FBV0 while posting the parked document ?
    Thanks

    Hi Tarek
    at first please check field status transaction with OB14, OB41.
    Please also check in transaction OBC4 for the relevant field status variant and the relevant field status group in "Additional account assignments" that "Profit center is not set as required.                           
    do you have an asset line inside the document ?
    When a classicaly parked document or a document parked by the complex  posting via ENJOY is posted, a CALL TRANSACTION USING is run through. It can be compared with a batch-input session in the background.
    If a document is parked with an asset line, it might be that in the asset line account assignments were derived by parking the document, although they are not open for entry. For making sure, that the CALL TRANSACTION USING is not failing for such lines, the settings of the asset  accounting have to be disregarded and the fields have to be opend.
    Then only the fieldstatus of posting key and G/L account are regarded. Since the fieldstatus of PRCTR is defined as required, the posting fails. If it was optional, everything would have worked properly.                                                                               
    Kindly revise your field status customizing
    Kind Regards
    davide

  • Goods picking and Post goods issue in VL02N

    Dear All,
    Am hving problem in Picking goods and Post goods issue.
    This is for the Stock Transport Order with Delivery via Shipping
    Supplying plant is 1000(SAP std,sloc 0001) and Receiving plant 1100(sloc 0001).
    Sales org:1000
    Distrbn Chnnl:10
    Division:00
    1.maintained matrial for both the plants.
    2.Creted STO by using DOC type as "UB" and item cat "U".
    3.And getting the Shipping data for the material in the STO.as shipping point is 1000.
    saved the Po.
    4.After that i done the GR w/o PO for the material using Mvt type 501.
    5.Then,VL10B creating Delivery doc.n this is also created.
    6.but when i do the picking and PGI in VL02N there picking field is greyed out bt i have tried to mangae that when i give the picking Qty in the picking qty field system is throwing the following error.
    <b>Item to be picked by WM (picking quantity cannot be entered)
    Message no. VL118
    Diagnosis
    For this item, picking is carried out using warehouse management transfer orders since the material is stored in a warehouse with random storage.
    System Response
    The system does not allow you to enter a picking quantity manually. The picking quantity is copied automatically into the delivery during the creation of the corresponding transfer order.</b>
    is any data missed by me while doing this process?
    pls let me know n help me in this regrds
    Thank you all

    Hi Vijay
    By changing storage location you could do b'coz the new storage location is not maintained with warehouse, hence no need to perform warehouse transactions (TO creation and confirmation) before inventory mgmt transactions (PGI).
    For trying pick up with WH, first u should have enough stocks in approppriate storage bins and u should perform pick up by creation of TO and confirmation.
    warm regards
    sairam akundi

Maybe you are looking for

  • Access USB from web application

    USB flash drive should take to me a web site. Documents in the website should sync with USB flash drive (Read Write to USB from web site) USB Flash drive should be in VIEW mode (no write permission) Authentication to USB Flash drive

  • When I quit Firefox 7 a blue screen appears

    When I quit Firefox 7 a blue screen appears. I go to quit Firefox 7 and then the screen turns blue and I have to press the power button to reset my computer. I'm running OS X 10.6 with the most recent updates. This seem to have started to happen when

  • Cut section of footage with audio out of timeline - HOW??

    Hi I've tried to select a middle section of my timeline and cut it out and have the two sections join - how do I do this? I've tried cutting the back end and pasting over the middle section, but it will NOT overwrite the audio. Video will overwrite b

  • Write off Stock at Subcontractor End

    Hi Experts, We want to write off the stock lying at stock subcontractor end in SAP thru Physical Inventory Adjustment.  No storage location is assigned to subcontractor stock in SAP. Therefore we are finding it difficult to do it thru MI01, MI04, MI0

  • Wine: Unhandled page fault

    I've had this error with a few apps in the past and have just come across it again when trying to run safari. wine: Unhandled page fault on read access to 0x00000008 at address 0x99bada (thread 0009), starting debugger... Unhandled exception: page fa