Upload file into db,sos!

I am working on upload into and download from database. I am
using jspsmartupload api.
Please help me any one worked on this api.. I am getting an
error like
An error occurs : java.sql.SQLException: Internal Error: Unable
to construct a Datum from the specified input 0 file(s) uploaded
in the database
When the file size is less then 4KB.. and I am getting an error
like this when the file size is grater then 4KB I am getting an
error like this..
An error occurs : java.sql.SQLException: ORA-01008: not all
variables bound
When I was trying to insert a row into database by using result
set by using
rs.moveToInsertRow();
rs.insertRow();
I am getting another error like
java.sql.SQLException: Io exception: Connection reset by peer:
JVM_recv in socke
t input stream read
at oracle.jdbc.dbaccess.DBError.throwSqlException
(DBError.java)
at oracle.jdbc.dbaccess.DBError.throwSqlException
(DBError.java)
at oracle.jdbc.driver.OracleResultSetImpl.internal_close
(OracleResultSet
Impl.java)
at oracle.jdbc.driver.OracleResultSetImpl.close
(OracleResultSetImpl.java
at oracle.jdbc.driver.ScrollableResultSet.close
(ScrollableResultSet.java
at oracle.jdbc.driver.UpdatableResultSet.close
(UpdatableResultSet.java)
at examples.jsp.smart.sample4_jsp_1._jspService
(sample4_jsp_1.java:166)
at com.sun.jsp.runtime.HttpJspBase.service
(HttpJspBase.java:87)
at javax.servlet.http.HttpServlet.service
(HttpServlet.java:840)
at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.service
(JspServlet.j
ava:88)
at com.sun.jsp.runtime.JspServlet.serviceJspFile
(JspServlet.java:218)
at com.sun.jsp.runtime.JspServlet.service
(JspServlet.java:294)
at javax.servlet.http.HttpServlet.service
(HttpServlet.java:840)
at com.sun.web.core.ServletWrapper.handleRequest
(ServletWrapper.java:155
at com.sun.web.core.Context.handleRequest
(Context.java:414)
at com.sun.web.server.ConnectionHandler.run
(ConnectionHandler.java:139)
HANDLER THREAD PROBLEM: java.io.IOException: Socket Closed
java.io.IOException: Socket Closed
at java.net.PlainSocketImpl.getInputStream(Unknown
Source)
at java.net.Socket$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native
Method)
at java.net.Socket.getInputStream(Unknown Source)
at com.sun.web.server.ConnectionHandler.run
(ConnectionHandler.java:161)
Here is the code..
ResultSet rs = stmt.executeQuery("SELECT Ta.* FROM
MP1.TBL_UPLOAD Ta where ID =1");
// if the resultset is not null
if (rs.next()){
// Initialization
mySmartUpload.initialize(pageContext);
// Upload
mySmartUpload.upload();
// upload file in the DB if this file is not
missing
if (!mySmartUpload.getFiles().getFile
(0).isMissing()){
try {
file://rs.moveToInsertRow();
file://rs.updateInt("ID",2);
rs.updateString("FILENAME",
mySmartUpload.getFiles().getFile(0).getFileName());
// Add the current file in the
DB field
System.out.println("I am before
update Row()" + mySmartUpload.getFiles().getFile(0).getFileName
mySmartUpload.getFiles().getFile
(0).fileToField(rs,"ATTACHMENT");
System.out.println("I am before
update Row()");
// Update
file://rs.insertRow();
file://rs.first();
rs.updateRow();
count++;
} catch(Exception e) {
out.println("An error occurs : "
+ e.toString());
// Display the number of files uploaded
out.println(count + " file(s) uploaded in the
database.");
rs.close();
stmt.close();
con.close();
null

You could try using an Excel VB script to do it. I'm considering doing the same thing. We receive reports from vendors in Excel spreadsheet formats currently. The users are now forced to save the document as a CSV file and then call up an Oracle Forms page and enter the CSV filename. I use the utility TEXT_IO to read the file in its comma delimited form. For me, this process is highly dependant on the user correctly saving the file. This causes me to perform very specific data format checking in my PL scripts. To alleviate this, I'm considering using the VB script as I mentioned. I haven't investigated it, its just an idea. Of course it'll be dependent on whether I can connect to the Oracle DB within the VB script in Excel.
Good luck.
Ed.

Similar Messages

  • Error while uploading file into KM

    Hi Experts,
    I m getting error while uploading file into KM. Its throwing an error message like " Syngenta-POC.doc" does not exist, or file is empty; you cannot upload empty files"
    please assists me.

    Shantanu,
    Please check the files which you are upload is empty or unknown format. If everything seems valid then try to check for the corresponding SAP Note in service.sap.com
    Ram

  • Issue with permissions to upload files into Apache web server to OS 10.8.2

    Hello everyone;
    I setted up Apache web server and mysql to OS 10.8.2 Mountain Lion. It's working fine except for the permissions. I can't upload files into the web site directory. Doesn't recognize, e.g., the PHP function "move_uploaded".
    One problem for my is that I can't modify the permissions by "Terminal" app since it telling me that the "Process completed" and I can't write any script.
    Any suggestion will be welcome.
    Thanks in advance.

    My only question now would be how to speed up Safari's 6.0.1 performance in 10.8.2 or do I just accept that it's a little slower than it was, which is fine. Are other folks having this issue?
    I was primarily passing along info about my particular download speed and for the Web Confidential 3.8 people: make a backup of your passwords b4 installing 10.8.2 or be prepared to upgrade.

  • Someone used upload files into blob in JDeveloper 10.1.3.2 ?

    Someone used upload files into blob in JDeveloper 10.1.3.2 ?
    I used Steve Muech example 85, but after downloading , downloaded files doesn't work ?
    I prepared test case http://www.sttb.pl/jakub/UploadAndDownloadBlob.zip - meybe someone resolve it.
    Regards
    Kuba

    Hi,
    There is no problem with download in above example. I have used Steve's example to upload, and solution delivered by Ric Smith on his blog to download files. I think there is something wrong with Steve's uploading solution. When I used Ric solution (he sent me by email complete JDeveloper project) to upload and download everyting works correct. I created last Friday SR on Metalink to review it and it's still in progress. My advice is:
    1) Look onto Ric Smith blog:
    http://thepeninsulasedge.com/blog/2006/08/17/reading-and-writing-blobdomains-to-and-from-an-adf-uploadfile/
    and
    http://thepeninsulasedge.com/blog/2006/11/06/adf-faces-and-adf-bc-fileupload-and-blobs-continued/
    2) Ask him to send JDeveloper project or update email to your profile - I'll send you directly this project that I retrieved from Ric Smith
    Regards
    Kuba

  • Access denied. When trying to upload files into SharePoint with PowerShell

    AM trying to upload a bunch of files into SharePoint using PowerShell. I have a code that works on my local machine, but when I get on the server, it does not. Here is what my block of code looks like
    $webUrl = "http://SampleSite"
    $libraryName = "My Lib"
    $docLibraryUrlName = "My%20ContentType"
    $fileLocation = "C:\test\"
    $contentType = "My ContentType"
    #Open web and library
    $web = Get-SPWeb $webUrl
    $docLibrary = $web.Lists[$libraryName]
    $files = ([System.IO.DirectoryInfo] (Get-Item $fileLocation)).GetFiles()
    ForEach($file in $files)
    #Open file
    $fileStream = ([System.IO.FileInfo] (Get-Item $file.FullName)).OpenRead()
    # Gather the file name
    $FileName = $File.Name
    #remove file extension
    $NewName = [IO.Path]::GetFileNameWithoutExtension($FileName)
    #split the file name by the "-" character
    $FileNameArray = $NewName.split("_")
    #Add file
    #$folder = $web.getfolder($docLibraryUrlName)
    $folder = $web.getfolder($docLibrary)
    write-host "Copying file " $file.Name " to " $folder.ServerRelativeUrl "..."
    $spFile = $folder.Files.Add($folder.Url + "/" + $File.Name, $fileStream, $true)
    $spItem = $spFile.Item
    #populate metadata
    $spItem["First Column"] = $FileNameArray[0]
    $spItem["Second Column"] = $FileNameArray[1]
    $spItem.Update()
    $fileStream.Close();
    Again, this code works fine on my local machine but doesn't when I move this to the server. When I step through the code, I noticed that when I look at the data returned for my $folder variable in this snippet
    $folder = $web.getfolder($docLibrary)
    It shows the EffectiveRawPermissions to be "Open, BrowseUserInfo, UserClientIntegration" on the server...however, the EffectiveRawPermissions on my local machine is "FullMask". Does this have any effect on the ability of my code to be
    able to upload the files into SP on the server? I have never run into this issue, so am not sure how this makes sense...so I really appreciate any insight. Thanks
    I am getting this error when the code attempts to perform the "Add" function...
    Exception calling "Add" with "3" argument(s): "<nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied."
    At C:\PowerShellScripts\tester.ps1:70 char:3
    +         $spFile = $folder.Files.Add($folder.Url + "/" + $File.Name, $fileStream, $true ...
    +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : UnauthorizedAccessException
     ...Please help

    RunWithElevatedPriv basically impersonates the webapp's app pool account, which should have full control over the entire webapp... this would work, but is not recommended for several reasons:
    - first and foremost, you shouldn't NEED to bypass the SP security model
    - second and still important, the app pool may be hosting other webapps as well, so the risk of a bug causing security-related problems within the RunWithElev codeblock is no longer scoped to the current webapp, but also other webapps that share the same
    app pool account.
    - third, same as number two, but for service accounts, and possibly even the farm... not a good practice, but a lot of SP installs aren't configured correctly, so the entire farm may be using one account... now, the RunWithElev is not just a webapp admin,
    not just a multiple webapp admin, but may be able to affect service apps, or possibly the entire farm.
    - fourth, the audit info (created by, modified by) will reference the system account, instead of your account... not a very accurate audit trail in that case.
    If you have a legit need to add the files, you should be able to get the necessary permissions (which is basically just contribute within the library / folder) easily enough.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Error while uploading files into FND_LOBS table

    Hi All,
    Hope you are all well!!
    I am new to OAF.Developing a standard upload page.
    Getting the below error when i am trying to uploading the file in to FND_LOBS table.
    *"Error - Attribute FileId in xxsymuploadAM.xxsymuploadVO is required"*
    The page was opening successfully but when trying to submit the file into fnd_lobs table getting the error.
    For this i have created AM, EO and EO based VO.
    Her is my code--------------------
    /*===========================================================================+
    | Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
    | All rights reserved. |
    +===========================================================================+
    | HISTORY |
    +===========================================================================*/
    package xxsymupload.oracle.apps.fnd.upload.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.OAException;
    import oracle.jbo.Row;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageFileUploadBean;
    import oracle.apps.fnd.framework.webui.OADataBoundValueViewObject;
    * Controller for ...
    public class xxsymupload1CO extends OAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am=pageContext.getApplicationModule(webBean);
    OAViewObject vo = (OAViewObject)am.findViewObject("xxsymuploadVO");
    if (!vo.isPreparedForExecution())
    vo.executeQuery();
    Row row = vo.createRow();
    vo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    row.setAttribute("FileFormat","IGNORE");
    row.setAttribute("UploadDate", am.getOADBTransaction().getCurrentDBDate());
    row.setAttribute("ProgramName", "xxsymUpload");
    OAMessageFileUploadBean uploadBean = (OAMessageFileUploadBean)webBean.findChildRecursive("fileUpload");
    OADataBoundValueViewObject displayNameBoundValue = new OADataBoundValueViewObject(uploadBean, "FileData");
    uploadBean.setAttributeValue(DOWNLOAD_FILE_NAME,displayNameBoundValue);
    OADataBoundValueViewObject contentBoundValue = new OADataBoundValueViewObject(uploadBean, "FileContentType");
    uploadBean.setAttributeValue(FILE_CONTENT_TYPE, contentBoundValue);
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    if (pageContext.getParameter("cancelButton") != null)
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.getTransaction().rollback();
    pageContext.forwardImmediately("OA.jsp?OAFunc=OAHOMEPAGE",null,OAWebBeanConstants.KEEP_MENU_CONTEXT,null,null,false,OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    else if (pageContext.getParameter("submitButton") != null)
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.getTransaction().commit();
    OAViewObject vo = (OAViewObject)am.findViewObject("xxsymuploadVO");
    oracle.jbo.domain.Number fileId = (oracle.jbo.domain.Number)vo.getCurrentRow().getAttribute("FileId");
    String fileUpload = (String)vo.getCurrentRow().getAttribute("FileName");
    OAException confirmMessage = new OAException("File "+fileUpload+" uploaded succesfully with ID "+fileId+".",OAException.CONFIRMATION);
    pageContext.putDialogMessage(confirmMessage);
    pageContext.forwardImmediately("OA.jsp?page=/xxsymupload/oracle/apps/fnd/upload/webui/xxsymuploadPG",null,OAWebBeanConstants.KEEP_MENU_CONTEXT,null,null,true,OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    Appreciate quick response!!
    Thanks,
    Sateesh

    In EO Impl java, set the file id and other mandatory fields, something like below. You can also search OAF forum for more details.
    public void create(AttributeList attributelist)
    super.create(attributelist);
    try
    OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl)getOADBTransaction();
    String s = "select fnd_lobs_s.nextval from dual";
    ViewObject viewobject = oadbtransactionimpl.createViewObjectFromQueryStmt(s);
    Number number;
    Row row;
    for(number = null; viewobject.hasNext(); number = (Number)row.getAttribute(0))
    row = viewobject.next();
    if(number != null)
    setFileId(number);
    setFileFormat("text");
    setUploadDate(oadbtransactionimpl.getCurrentDBDate());
    } else
    throw new OAException("AK", "AK_CANNOT_GET_FILEID");
    viewobject.remove();
    catch(Exception exception)
    throw new OAException("AK", "AK_FND_LOBS_NOT_CREATED", exception);
    Thanks
    Shree

  • Upload Files into SAP Office Folder in Background

    Hi All ,
    Has anyone tried uploading file(s) of any type say *.XLS , *.PDF to SAP office folder (Outbox) in the background . I am using the function module  'SO_DOCUMENT_REPOSITORY' with methods "SAVE" , "ATTCREATEFROMPC" and "SEND" . It works fine in foreground without any errors . But when tried to schedule in background , the job stops at the method call "ATTCREATEFROMPC" and gives a message  "Database error for <INSERT INTO KPRO> " . It looks like the uderlyiong function module checks for an active GUI and fails during background .
    Any thoughts or other solutions would be appreciated ....
    Thanks

    Hi,
    I think ATTCREATEFROMPC method is for loading the file from frontend PC. It is bound to fail if you run it in background since there is no SAPGUI running it and it can't know the location.
    You will need to use some other method to be able to read the files from the APP server, and have your documents on the APP server if you want to run your code in the background.
    cheers,
    Ajay

  • How can we upload file into to OCS Content repository when we are in Apex

    We have installed the Oracle Application Express 2.2.1 into the OCS 10.1.2 database.
    The Apex authentication is set to operate with OCS SSO.
    We have made a form. There is a browse button on the form. We would like if the uploaded file appeared in the OCS content database repository as
    opposed to Apex document repository.
    To put it into another word, how can we upload the file into to OCS Content repository when we are in Apex.
    Generally speaking, how can we reach content from Apex?
    We have found many java based examples to use content sdk, but how can we use them with Apex? We believe that
    content hasn't got plsql interface.
    i would highly appreciate it if you sent me a full example program.

    Hi Ram,
    Thanks for the reply
    We have a requirement to device a solution to upload the policy documents related to iProcurement
    I am planning to create an OA page to upload the content and planning to use the AOL function security to restrict the users those who can access this page .
    Is there any better way to implement the security?
    Is this approach feasible or is there any better way to approach this requirement?
    Thanks

  • Uploading Files into DB with php

    Hi There,
    I am struggling with my php code.  I added an upload button into my site, here the consultants can add documents which they have worked on.  But...I cannot get these documents into a folder in the DB, nor can I get these documents to be viewed by a Teamleader with the original request number attached.
    I used the normal script to do the Browse function:
    <form enctype="multipart/form-data" action="post3.php" method="POST">
      <input type="hidden" name="MAX_FILE_SIZE" value="300000" />
      <span class="grey">Choose a file to upload</span>:
    <input name="uploadedfile" type="file" />
    <input type="submit" value="Upload File" align="middle" />
    </form>
    But my PHP code does not want to work nor does it want to display anything...(a bit frustrating)
    can anyone please assist me with code or some pointers please..
    Thank you in advance..

    05/08/17 11:22:31 java.io.IOException: java.io.IOException: sqlldr: not found
    Does the client m/c have sqlldr installed (it will need Oracle client installation)? Does it have the ORACLE_HOME/bin directory in whatever path is appropriate for the client OS?
    Cheers, APC

  • Upload files into apex using plsql

    i use apex upload option to upload files in to flow_files. Now it has to be deon via PL/SQl process. Via PL/SQL Process the files has to be uploaded on to apex application flow files tables .
    the data input to my application come not from same apex another but from extenal source via plsql procedure.
    is it possible ?
    thanks
    Raj

    Just for completeness ...
    Got this to work, but it's a pl/sql issue as opposed to an APEX issue.
    Anyway, if anyone needs to have the ability to read multiple files then a quick easy way to do it (as lomg as they know the file names that will be read), is to create a directory on the database which points to the actual harddrive on your PC, then create a table (called an external table) and read from that external table as if it was an actual database table ...
    1 - Log on as sys and grant CREATE ANY DIRECTORY to whatever user you are logging in as (assuming you are not using sys to create apps)
    2 - Create a directory e.g....CREATE OR REPLACE DIRECTORY GB_TEST AS 'c:\gbtest';
    3 - Create an external table as ...
    CREATE TABLE gb_test
    (file_name varchar2(10),
    rec_date date
    rec_name VARCHAR2(20),
    rec_age number,
    ORGANIZATION EXTERNAL
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY GB_TEST
    ACCESS PARAMETERS
    RECORDS DELIMITED BY NEWLINE
    FIELDS TERMINATED BY ','
    LOCATION ('data1.csv','data2.csv','data3.csv','data4.csv')
    PARALLEL 5
    REJECT LIMIT 20000;
    That's it then ...
    select * from gb_test
    where file_name = 'xxx'
    will return all the data where the file_name = 'xxx'
    very easy to use.

  • Uploading File into SAP Transaction using BSP

    Hi Everybody,
    I would like to know how to save the file into SAP Transaction thro BSP. I have one requirement,For example,the captured file from the web should be attached into the Equipment master (Transaction Code IE02).Its possible via SAP GUI.But i would like to know how it can be done from BSP.The same example applicable to sales order also..
    Also i wondering where these files get stored.
    Anybody could help me out of this issue please?...
    Naga Bokkisam

    You can do that using BDS..But you need to find the Business object to store it under Equipment Master or Sales order.
    Here is the example where i stored the document under Warranty process, ie sub set of Equipment master:
    Here BUS2222 is business object for Warranty Process:
      CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          BUFFER                = STR_FILE_CONTENT
        TABLES
          BINARY_TAB            = I_FILE_CONTENT.
      CALL FUNCTION 'BDS_BUSINESSDOCUMENT_CREA_TAB'
        EXPORTING
          CLASSNAME             = 'BUS2222' "classname_select
          CLASSTYPE             = 'BO'" classtype_select
        CLIENT                = SY-MANDT
          OBJECT_KEY            = OBJECT_KEY
        BINARY_FLAG           = 'X'
        TABLES
          SIGNATURE             = I_SIGNATURE
          COMPONENTS            = I_COMPONENTS
        CONTENT               = I_FILE_CONTENT
    EXCEPTIONS
       NOTHING_FOUND         = 1
       PARAMETER_ERROR       = 2
       NOT_ALLOWED           = 3
       ERROR_KPRO            = 4
       INTERNAL_ERROR        = 5
       NOT_AUTHORIZED        = 6
       OTHERS                = 7     .
    Let me know if you need any detail..
    <i>*Reward each useful answer</i>
    Raja T

  • Uploading file into Collaborative Web

    Hi all
    Is there any way to update data from a file into DP via Collaborative Web??
    Thanks

    Hi,
    check for class CL_GOS* .  The data get stored in binary. in different tables SO*
    aRs

  • Security Issues with uploading files into APEX - How is anti-virus handled?

    Hi APEXers!
    We have been using APEX 3 for some time and are now migrating to APEX 4. We have a request for a new application that will require uploading spreadsheets. From other developers, I know it can be done in a few ways. The only thing we have done before is limitied - storing them in BLOBs.
    With the Websheets in APEX 4, users could load them directly into the database.
    But the anti-virus issue has always been unclear. For the apps that we are allowing to upload to BLOBs, they are small user, internal apps so we hope that our enterprise desktop software will stop a bad file before it gets uploaded.
    We have gotten some questions about allowing outside-our-network people to upload spreadsheets or maybe even the public. So far, our security people have just said no - but I wondered what everyone else is doing?
    Are there any White Papers or articles on this? My general impression is that anti-virus software has to be installed at the server level to deal with this.
    If anyone can provide some guidance, I would appreciate it as I have to figure out what to tell the development team requesting to do this.

    Do you have to take excel format? CSV would be a lot safer.
    You might take inspiration from this:
    http://stackoverflow.com/questions/3363767/how-do-you-virus-scan-a-file-being-uploaded-to-your-java-webapp-as-it-streams

  • Upload files into a .war file

    Hi,
    I`m working in a webapp that upload a file from a client browser into a
    directory inside the structure of my aplication. This looks like :
    MyApp\targetdirectory
    I`m using getServlet().getServletContext().getRealPath("/") to get the real
    path of root of MyApp and then upload the file ...
    Everything work when I`m working with the "exploded" structure but it fails
    when I deploy it in weblogic as part of a .war file.
    Tomcat seems to handle this "exploding" the .war file at deploying time ...
    does weblogic has something similar ?
    regards,
    Hans Nemarich
    ORDEN
    www.orden.cl

    This has been discussed before if you search back ... generally, you should
    NOT be doing what you described.
    Peace,
    Cameron Purdy
    Tangosol Inc.
    Tangosol Coherence: Clustered Coherent Cache for J2EE
    Information at http://www.tangosol.com/
    "Hans Nemarich" <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    I`m working in a webapp that upload a file from a client browser into a
    directory inside the structure of my aplication. This looks like :
    MyApp\targetdirectory
    I`m using getServlet().getServletContext().getRealPath("/") to get thereal
    path of root of MyApp and then upload the file ...
    Everything work when I`m working with the "exploded" structure but itfails
    when I deploy it in weblogic as part of a .war file.
    Tomcat seems to handle this "exploding" the .war file at deploying time...
    does weblogic has something similar ?
    regards,
    Hans Nemarich
    ORDEN
    www.orden.cl

  • Warning while uploading file into SAP - SAP GUI Security

    Hello Experts,
    When ever I am uploading any file to SAP from desktop, system asks me:
    "Do you want to grant access to this file - Yes or No"
    Also there is check box "Remember my decision"
    Refer screenshot
    Please note: This warning is given to me only. My other colleagues does not get this warning. How can I remove this
    Moreover, it is showing as "SAP GUI Security"
    Meena

    Hi Meena,
    It is just a warning message and so you can ignore it. Also, be informed that nothing is skeptical here. Things are working as it should work.
    You other colleagues must have clicked Remember my decision so now it is not asking them. You can click on remember my decision and then can click on yes. From next time on it wont ask. And even if it asks you just follow the same process.
    Hope this helps!
    Regards,
    Sanket Sachde

Maybe you are looking for