Support for multipart forms in web portlets?

I have to make a web portlet(in JSP) that allows the user to upload a file. But I got this error...
[25/06/2001 18:48:27:906 PDT] page/Unexpected exception in servlet
java.lang.StringIndexOutOfBoundsException: String index out of range: -119
at java.lang.String.substring(String.java, Compiled Code)
at oracle.webdb.page.PageBuilder.parseQuery(PageB uilder.java, Compiled Code)
at oracle.webdb.page.PageBuilder.getMetaData(Page Builder.java, Compiled Code)
it seems to me that the Portal page is having trouble extracting the request parameters because it is assuming that the request is wwwurlencoded and not multipart...
If that is true then there is no way for us to create a web portlet that has an upload facility...whether jsp or servlet...
What are the possible solutions to get around this?
null

If you want to upload files, you cannot submit the request to the portal - it has to be submitted directly to your own web provider (or your own servlet). Once you have processed the multipart document, then the web provider or servlet should re-direct to the portal page the upload portlet is on.
You can do the redirect by including the page_url from the upload portlet in the request to the servlet that will handle the upload.
NOTE: the servlet that handles the upload must be accessible from the browser (ie no firewalls)

Similar Messages

  • Microsoft is no longer giving support for Infopath forms

    Hi,
    I come to know that Microsoft is no longer giving support for infopath forms and its replacement coming is office forms.
    Can anybody please tell me when Microsoft will is going to lift the support for infopath forms and what will be its replacement and what will be the features of new technology. And will i stop using the infopath forms or i can use for now.
    Thanks in advance.

    This is last edition of infopath form. But a replacement of infopath form would be released
    Products Released
    Lifecycle Start Date
    Mainstream Support End Date
    Extended Support End Date
    Service Pack Support End Date
    Notes
    InfoPath 2003
    11/19/2003
    4/14/2009
    4/8/2014
    InfoPath 2007
    1/27/2007
    10/9/2012
    10/10/2017
    1/13/2009
    Microsoft InfoPath 2010
    7/15/2010
    10/13/2015
    10/13/2020
    Microsoft InfoPath 2013
    1/9/2013
    4/10/2018
    4/11/2023
    Page Tools
    Print this page
    ver since Microsoft has announced that InfoPath 2013 would be last release for their most popular forms technology, industry and SharePoint community was awaiting for what’s next at
    Microsoft’s announcements at SPC14.
    As you have may have noticed from my blog articles, I have been huge fan of InfoPath form services and different capabilities it would bring to deliver quick no-code solutions for customers
    backed by amazing InfoPath community. Although InfoPath forms had its limitations (branding, mobility support, XSLT based technology, required Enterprise CALs etc.), disciplined approach allowed me to design and maintain complex enterprise level InfoPath 2010
    and SharePoint 2010 solutions.
    Ever since Microsoft has announced InfoPath Forms replacement roadmap update session at SPC14, industry and community leaders were looking forward to this session. Interestingly, while
    announcing has InfoPath and SharePoint forms update in January 2014, Microsoft has dropped some hints of Microsoft Word and Access Services being replacement for InfoPath form services. Microsoft provided early insight on their plans to deliver next generation
    intelligent, flexible, agile, and integrated forms experience that spans devices and browsers.
    Check 
    http://nikpatel.net/2014/03/08/future-of-infopath-spc14-notes-from-office-and-sharepoint-forms-roadmap-update/
    http://zimmergren.net/business/the-future-of-forms-with-sharepoint-and-office-365
    If this helped you resolve your issue, please mark it Answered

  • Will REF CURSOR support for Oracle Forms 6i?

    Hi,
    I need to use ref cursor in my from. My cursor query should be dynamically append the "where clause". Hence I used the dynamic query with ref cursor.
    But my problem is , when I compile the form it gives error for the line " OPEN emp_record FOR l_query;"
    You need to use "select" statement.
    Is there any solution for this in forms?
    I know it supports for other PL/SQL areas.
    Please help me. below is my code sample,
      DECLARE
    TYPE emp_refcur IS REF CURSOR;
    emp_record    emp_refcur;
    TYPE rec_emp_data IS RECORD
        emp_no              VARCHAR2(40),
      emp_rec             rec_emp_data;
      l_query               VARCHAR2(4000);
    BEGIN
         l_query := 'SELECT empno
                     FROM emp ';
          IF :CONTROL.ename IS NOT NULL THEN     
              l_query := l_query||' AND ename = '''||:CONTROL.ename||''' ';           
          END IF;
         OPEN emp_record FOR l_query;
         LOOP
            FETCH emp_record INTO emp_rec;
            EXIT WHEN emp_record%NOTFOUND;
           dbms_output.put_line(emp_rec.emp_no);
        END LOOP;
        CLOSE emp_record;     
    END;      Thanks
    Rajesh

    Hi,
    It's been a while since I used Forms 6i, but I remember hitting a similar problem. I don't think (and stress think!) that the PLSQL engine that comes with Forms 6i recognises ref_cursors.
    The work-around I used was to move the functionality to the database and call it from forms.
    Hope this helps.
    Regards
    Ian

  • IDE Support for Oracles Forms and Reports

    Hi All,
    I am beginning a software integration project and would really appreciate it if you could give me some guidance. I wish to find an IDE that will support Oracle Forms & Reports (6i and 9i/10g) development (in particular support for coding of .rdf and .fmb files) either natively or via a plug-in. Is anyone aware of such an IDE or plug-in? Thanks in advance.
    -S

    Thanks for your input Jacob, that answered my question. I was wanting to know if there was any IDE that could be used to develop fmb's or rdf's, either natively or with a plug-in. From your response, I now know there are not.

  • Displaying a PDF for a form on web browser in  Web Dynpro Abap

    Hey
    I have a form (a set of input elements) on a view
    Now i want that as soon as i press execute , a pdf form is displayed with the values entered on the view.
    Thanks
    Shivi Goel

    Hi ,
    you can refer below links for interactive forms.
    [http://www.sdn.sap.com/irj/scn/logon?redirect=https%3a%2f%2fwww.sdn.sap.com%2firj%2fscn%2finteractiveforms-elearning]
    [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/d1/af8841349e1909e10000000a155106/frameset.htm]
    [http://wwwimages.adobe.com/www.adobe.com/enterprise/partners/pdfs/solution_in_detail_interactive_forms.pdf]
    [http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/64348655fb46149098d95bdca103d0/frameset.htm]
    Reagrds,
    Priya

  • Support for PDF form editing in Acrobat Pro XI and futire versions?

    Will Adobe Professional continue to support the creation and editing of PDF forms after Forms Central? Can I import my Forms-Central PDF forms into Acrobat XI? What are the plans for future versions of Acrobat Pro - any cancellations planned for forms-features?

    >. I understand that this LifeCycle Reader Extensions allows for such a result
    That's correct.
    >but I have not clue how to add this funtionality to my already created PDF?!?
    LiveCycle Reader Extensions is a product. You buy it. Note that the
    price is "on application" and varies with your company's needs, but is
    typically either tens or hundreds of thousands of dollars. This is to
    offset the "lost sales" of Acrobat which people would otherwise have
    to buy to save forms.
    > I have downloaded the trial version Adobe LifeCycle Designer 7.1 (which appears to have full functionality for only 60 days)in hopes to just add this capability
    There are many products with LiveCycle in the name from Adobe. That's
    a different one.
    Aandi Inston

  • Language Conversion for Adobe form using Web Dynpro

    Hi,
    I want to convert the whole adobe form which have created in English to some other language using web dynpro. Is it possible.
    Please help me on this.
    Thanks & Regards,
    Gaurav Mittal

    Hi Gaurav,
    Gudday.
    You can very well view a single adobe form in different languages by  maintaining the translations in the desired language using the path
    tools->translation->select the language->translate pdf form
    on selecting the language,the text will be displayed  in source language ....using the menu tabs copy the source text and maintain the texts in the required language.
    Hope it is clear.Please revert for any clarifications.
    Thanks,
    Martina

  • Support for document and documentwrapped web services

    List,
    Are "document" and "documentwrapped" style web services supported in WSL 8.1 SP1?
    The
    documentation referenced below [1] [2] indicates that these styles are supported,
    but in the
    Unsupported Features section of the Web Services overview [3] states the RPC literal
    style and
    Document encoded style are not supported. It is my understanding that the style
    attribute
    values of the servicegen ant task map to the SOAP encodings as follows:
    RPC -> SOAP RPC
    documentwrapped -> SOAP RPC-literal
    document -> SOAP document-literal
    Is this correct?
    Regards,
    Kent
    [1] http://edocs.bea.com/wls/docs81/webserv/design.html#1038901
    [2] http://edocs.bea.com/wls/docs81/webserv/anttasks.html#1063540
    [3] http://edocs.bea.com/wls/docs81/webserv/overview.html#1074641

    So is it a true statement that if I use the documentwrapped style, I don't have
    the restriction
    of having only one void method while gaining the scalability and performance benefits
    [1] of
    SOAP document-literal encoding? Does the documentwrapped style have any restrictions
    regarding out and in-out parameters? If so, what is the correct way in Java to
    specify a
    parameter as "IN" only?
    Thanks again,
    --Kent
    [1] http://dev2dev.bea.com/products/wlworkshop/articles/Cohen.jsp
    "manoj cheenath" <[email protected]> wrote:
    This is correct. In the doc/lit bare case, a
    method with no parameter will have an empty
    soap envelope. If you look at the schema for
    this operation, it will be an empty complexType.
    So in the style, you can only have one void
    method. WLS tools (servicegen/source2wsdd) do
    not enforce this. Which I think is a bug.
    Hope this helps,
    -manoj
    http://manojc.com
    "manoj cheenath" <[email protected]> wrote in message
    news:[email protected]...
    This is correct. In the doc/lit bare case, a
    method with no parameter will have an empty
    soap envelope. If you look at the schema for
    this operation, it will be an empty complexType.
    So in the style, you can only have one void
    method. WLS tools (servicegen/source2wsdd) do
    not enforce this. Which I think is a bug.
    Hope this helps,
    -manoj
    http://manojc.com
    "Kent Kvarfordt" <[email protected]> wrote in message
    news:[email protected]...
    Bruce,
    How do the restrictions apply to methods that do not have any paramters?
    >>>
    I have attached a copy of the weblogic webservice complex example that I
    modified
    to use
    document style encoding and contains two noarg methods, getVersion
    and
    getAnotherVersion. I also modified the buy and sell methods to take single arguments.
    Following are the results from the test web page for a call to getAnotherVersion.
    <!--REQUEST.................-->
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <env:Header>
    </env:Header>
    <env:Body>
    </env:Body>
    </env:Envelope>
    <!--RESPONSE.................-->
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <env:Header>
    </env:Header>
    <env:Body>
    <n1:buy
    xmlns:n1="http://www.bea.com/examples/Trader">getVersion</n1:buy>
    </env:Body>
    </env:Envelope>
    What am I missing? BTW - I am using Weblogic Server 8.1 SP1.
    Also, how does the weblogic documentwrapped style map to the SOAP encodings
    SOAP RPC, SOAP RPC-literal, and SOAP document-literal? Are the messages encoded
    SOAP doc/lit, but the programming model allows for multiple parameters? Is
    the documentwrapped style specific to weblogic webservices?
    And finally, given Java is a pass by value language, do I need to
    do
    anything
    special to the webservice method signatures to specify the parameters
    as
    "IN"
    parameters?
    Thanks for all the help. From looking at the list traffic, your
    keeping
    busy.
    Regards,
    Kent
    Bruce Stephens <[email protected]> wrote:
    Hi Kent,
    There are restrictions on the doc/lit style of encoding, such as
    the
    methods that implement each operation of the Web Service can have only
    one parameter and the methods that implement each operation cannot use
    out and in-out parameters. The documentwrapped generates a resulting
    Web Service operations that can take any number of parameters, although
    the parameter values will be wrapped into one complex data type in the
    SOAP messages. Manoj has an example of documentwrapped [1].
    We do not support rpc/lit. You might want to review this note by Yasser
    Shohoud, it explains this in exquisite detail [2]
    Regards,
    Bruce
    [1]
    http://manojc.com/?sample14
    [2]
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwebsrv/h
    tml/rpc_literal.asp
    Kent Kvarfordt wrote:
    List,
    Are "document" and "documentwrapped" style web services supported
    in
    WSL 8.1 SP1?
    The
    documentation referenced below [1] [2] indicates that these styles are supported,
    but in the
    Unsupported Features section of the Web Services overview [3]
    states
    the RPC literal
    style and
    Document encoded style are not supported. It is my understanding
    that
    the style
    attribute
    values of the servicegen ant task map to the SOAP encodings as
    follows:
    RPC -> SOAP RPC
    documentwrapped -> SOAP RPC-literal
    document -> SOAP document-literal
    Is this correct?
    Regards,
    Kent
    [1] http://edocs.bea.com/wls/docs81/webserv/design.html#1038901
    [2] http://edocs.bea.com/wls/docs81/webserv/anttasks.html#1063540
    [3] http://edocs.bea.com/wls/docs81/webserv/overview.html#1074641

  • Support for large blacklist in web proxy server

    I am looking at a way of loading a very large blacklist file (1 million entries). Since Apache looks up each entry in the DNS when it loads, the built in server in Mac OS X Server 10.4 may not be the best option.
    Any suggestions as to the best solution?

    I guess I wondered how Apache handles that many entries. For a start, you can't load the blacklist into Apache using Workgroup Manger---it grinds for a few minutes then quits, having run out of memory (according to console). Then, when I edited the blacklist manually into the http.conf file and started Apache---nothing happened. At least, several minutes later, web services had still not started. At that point I left and went home. (And posted my query to Discussions). That was last night.
    I have just confirmed that it still hasn't come back after running overnight, so I guess I answered that part of my own question. I was looking at squid myself. It's what used to run on this server, but when Apple enabled web proxying I dropped back to the pure Apple supported method. Now it looks as if I have to add squid back in, with the extra process that goes along with that.

  • Support for multipart/mixed on iOS Mail

    I subscribed what here is called "Certified Electronic Mail" (italian: PEC - Posta Elettronica Certificata), which has the same value as registered mail.
    When I receive an email, I can see all the metadata, but not the message itself, which should be an .eml attachment.
    In the footer there's only a message which tells (it's a translation): "This message cannot be shown because of the format used. Ask the sender to send it again using a different format and/or a different email client.
    multipart/mixed".
    Is it true that iOS cannot read multipart/mixed messages?
    My PEC provider uses this format only.
    Thank you.

    Hi Paolo,
    I work for an IT company whose focus is on mailing and PEC systems, so after reading your post I've done some tests with my own PEC accounts.
    I've noticed that iOS (test platform was 4.3.3 on an iPhone4) has indeed some problems in reading PEC messages, and this seem to be connected with the multipart/mixed content-type. If you do a quick search in the forums, you will find that this type is infact not supported by iOS , and this is why we are getting the error. During my tests, depending on the PEC Provider that hosted the sender, I got different behaviours: sometimes I didn't get any error at all, but still I was unable to see the postacert.eml attachment containing the text of the original message.
    Unfortunately the PEC regulations in Italy force the provider to build the message using this multipart/mixed structure, so I guess we will not be able to read PEC messages on our iPhones until Apple fix this.
    By the way, I am going to do some more tests to understand why I am getting such different results depending on the provider. I'll keep you updated should I find a workaround.
    Regards,
    Claudio Tassini
    Tech Advisor @Babel Srl

  • Is Windows 7 64 bit support for Oracle Forms and Reports 6i version

    Hi All,
    Greentings!
    Its urgent requirement from customer to Install Oracle Forms and Reports 6i Client software in Windows 7 64 bit OS.
    Can any one please help me to download and Install the same. It would be great if you send me the download link and steps to Install.
    Many thanks in advance!
    Kind Regards,
    Mohan

    That is a very very old product. It does not look like it is certified on that OS.
    Forms 6i Documentation
    http://www.oracle.com/technetwork/documentation/6i-forms-084462.html
    From
    http://download.oracle.com/otn_hosted_doc/forms/forms/A73154_01.pdf
    1.2.1.2 Operating System
    This version of Forms Developer requires Microsoft Windows. Specifically, one of the following versions:
    Windows 95 (any version)
    Windows 98 (any version)
    Windows NT (Service Pack 5 or later)
    For certification you should check with Middleware Certification (MOSC)

  • CUP support for Automated Approval via web service

    Wanted to know if a stage in a workflow defined in CUP can be defined that invokes a custom web service that returns an approval indicator. All the web services I've seen in GRC are at predetermined points or prebuilt integration sections. We need the ability for a custom web service to be invoked when this stage is encountered in the request workflow. If the web service return true, then the stage would be deemed approved and move onto the next state. Out hope is to automate the approval process so that a user does not need to approve the stage themselves. thanks in advance.

    Hi Brian,
    The webservices defined normally interact with the other GRC components. I've not seen the approval workflow interact with custom webservices.
    It would probably involve fairly in depth customisation of the java services and code.
    I thnk that the CUP workflow is pretty much self contained and therefore can only read approvals from it's own engine.
    Simon

  • Will Acrobat SDK 9 contain support for XFA Forms?

    (the question applies to Acrobat SDK and Adobe SDK)
    I have been following the product differentiation -trying to read between the lines, so to speak, and make predictions- between Acroforms and XFA.
    My impression was that Acroforms were on their way out, and that the writing on the wall says: "upgrade to XFA or else!".
    Then, I was contacted by the company that distributes Adobe SDK and among other things I was told that XFA is really a third-party product (acquired by Adobe) and hence the Adobe SDKs do not support XFA.
    I suppose there is a separate SDK for XFA?
    -RFH

    I guess the answer is - it depends ;).
    If you are doing desktop-based XFA, then there are certainly parts of the Acrobat SDK that provide information about how to do so. If you are doing server-side, then you want the information about the LiveCycle Developer program and SDKs - since you won't be working with Acrobat in that case.
    In addition, details of the XFA language and associated parts (such as FormCalc) are provided in their own set of documentation.
    Leonard

  • Multilingual Support for Oracle Forms on 9iAS

    I have created a standard form in English and deployed it on the Oracle 9iAS. I want my form to support German language in addition to English i.e the GUI elements should be displayed in german language.
    How do i acheive that?

    Hello,
    Look at this article : http://www.oracle.com/technology/products/forms/pdf/translationhuboverview.pdf
    Francois

  • MLS Support for Custom forms

    Hi,
    We need to create custom forms for an installation having more than 1
    installed language. How should we take care of the various language
    translations? Can anyone who has done this before shed some light on the
    process?
    Thanks,
    Ashish

    Hi,
    Thanks for the response. Couple of more questions:
    1) How do i translate the boilerplate texts? Do I need to maintain a lookup table for this? Any details on this would be appreciated.
    Do you have any document on this?

Maybe you are looking for

  • XSL transformation with xsl:import generates exceptions

    I am using the Schematron's basic XSL file basic-schematron.xsl to validate the XML format of one of our data files. The XSL file looks something like this ================ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform

  • Help for RT PC timed loop in us?

    I have created realtime target  quadcore PC  and created a pulse pattern(500kHz) using DIO pin0.1 and both counters. I want to repeat the pattern or send manny patterns after 512us. I am using time loop. It is not providing more than 28ms however it

  • Discoverer Plus4i - Exporting to Excel - Your server is running low

    We are currently running Discoverer Plus 4i. We have a couple of large reports that we want to export to Excel. We retrieve the report and then carry out the 'Export to Excel' action. The export starts to run but during the 'sort' phase we are gettin

  • Tagging Problems in Adobe Acrobat Standard 7

    Hello, I´m trying to tag a PDF created from a Powerpoint file. On some pages the background picture appears in the front so that parts of the text can´t be read anymore. Unfortunately I don´t have the original Powerpoint file. You got any idea what I

  • SSD Blade Drive for "Classic" Mac Pro

    Repost of earlier thread. PCIe-SSD which surpass SATA III speeds can mean a lot, and for a 1,1 is the only way to boot from PCIe (whether SATA III or not). http://www.macintouch.com/readerreports/harddrives/index.html#d17feb2015 Samsung XP941 256GB P