I have to upload a folder to the server

Hi all,
My requirement is i have to upload a folder through jsp page to the tomcat server, but i am not aware of that, i know only file uploading using html tal type=file, so can any one please send me the code to upload a folder to the server(specified place). Means i want to place the folder in the specified position in the server(how can i specify the path) and after that i have to read the contents(jpeg images) present in that folder(now how can i get the path) and place them in the DB, so can any body kindly send me the coding for this requirement. Send me all the necessary required files for this including (jsp file, java bean(if necessary .java file for that jsp page)).
Waiting for the reply.
sasi.

giyf.... amongst many others
http://www.jguru.com/faq/view.jsp?EID=160

Similar Messages

  • How to upload a file to the server using ajax and struts

    With the following code iam able to upload a file ato the server.
    But my problem is It is working fine if iam doing in my system nd when iam trying to
    access theis application from someother system in our office which are connected through lan
    iam getting an error called 500 i,e internal server error.
    Why it is so???????
    Plz help me????????
    It is required in my project.
    I want the code to access from every system.
    My exact requirement is i have to upload a file to the server and retrive its path and show it in the same page from which we
    have uploaded a file.
    Here the file has to be uploaded to the upload folder which is present in the server.Iam using Tomcat server.
    Any help highly appreciated.
    Thanks in Advance
    This is my input jsp
    filename.jsp
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!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=ISO-8859-1">
    <title>Insert title here</title>
    <script type="text/javascript">
    alertflag = true;
    var xmlHttp;
    function startRequest(file1)
         if(alertflag)
         alert("file1");
         alert(file1);
    xmlHttp=createXmlHttpRequest();
    var video=document.getElementById("filepath").value;
    xmlHttp.open("POST","FilePathAction.do",true);
    xmlHttp.onreadystatechange=handleStateChange;
    xmlHttp.setRequestHeader('Content-Type', application/x-www-form-urlencoded');
    xmlHttp.send("filepath="+file1);
    function createXmlHttpRequest()
         //For IE
    if(window.ActiveXObject)
    xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
         //otherthan IE
    else if(window.XMLHttpRequest)
    xmlHttp=new XMLHttpRequest();
    return xmlHttp;
    //Next is the function that sets up the communication with the server.
    //This function also registers the callback handler, which is handleStateChange. Next is the code for the handler.
    function handleStateChange()
    var message=" ";
    if(xmlHttp.readyState==4)
         if(alertflag)
              alert(xmlHttp.status);
    if(xmlHttp.status==200)
    if(alertflag)
                                       alert("here");
                                       document.getElementById("div1").style.visibility = "visible";     
    var results=xmlHttp.responseText;
              document.getElementById('div1').innerHTML = results;
    else
    alert("Error loading page"+xmlHttp.status+":"+xmlHttp.statusText);
    </script></head><body><form >
    <input type="file" name="filepath" id="filepath" onchange="startRequest(this.value);"/>
    </form>
    <div id="div1" style="visibility:hidden;">
    </div></body></html>
    The corresponding action class is FIlePathAction
    package actions;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import java.io.*;
    public class FilePathAction extends Action{
         public ActionForward execute(ActionMapping mapping, ActionForm form,
                   HttpServletRequest request, HttpServletResponse response)
                   throws IOException, ServletException
              String contextPath1 = "";
              String uploadDirName="";
              String filepath="";
                        System.out.println(contextPath1 );
                        String inputfile = request.getParameter("filepath");
                        uploadDirName = getServlet().getServletContext().getRealPath("/upload");
                        File f=new File(inputfile);
    FileInputStream fis=null;
    FileOutputStream fo=null;
    File f1=new File(uploadDirName+"/"+f.getName());
    fis=new FileInputStream(f);
         fo=new FileOutputStream(f1);
                        try
         byte buf[] = new byte[1024*8]; /* declare a 8kB buffer */
         int len = -1;
         while((len = fis.read(buf)) != -1)
         fo.write(buf, 0, len);
                        catch(Exception e)
                                  e.printStackTrace();
                        filepath=f1.getAbsolutePath();
                        request.setAttribute("filepath", filepath);
                        return mapping.findForward("filepath");
    Action-mappings in struts-config.xml
    <action path="/FilePathAction"
                   type="actions.FilePathAction">
                   <forward name="filepath" path="/dummy.jsp"></forward>
              </action>
    and the dummy.jsp code is
    <%=request.getAttribute("filepath")%>

    MESSAGE FROM THE FORUMS ADMINISTRATORS and COMMUNITY
    This thread will be deleted within 24 business hours. You have posted an off-topic question in an area clearly designated for discussions
    about Distributed Real-time Java. Community members looking to help you with your question won't be able to find it in this category.
    Please use the "Search Forums" element on the left panel to locate a forum based on your topic. A more appropriate forum for this post
    could be one of:
    Enterprise Technologies http://forums.sun.com/category.jspa?categoryID=19
    David Holmes

  • I have some loops from acid 5 which I have dragged in a folder to the loop browser.  Some of them retain the folder name in the View: and some don't.  I have had some that seem to go in but I can't find them.  Where should I look?

    I have some loops from acid 5 which I have dragged in a folder to the loop browser.  Some of them retain the folder name in the View: and some don't.  I have also had some that seem to go in but I can't find them.  If I try to add them again, I get a msg that they are already there.  Where should I look?

    It may be best to recreate the folder and the smart playlists from scratch.
    tt2

  • How to have the network users home folder on the server

    I have snow leopard server up and running and I want to have the network users home folder on the server, instead of it being located on the connected computers. This way the users can access their folders from other computers in the network

    In addition you have to make the sharepoint able to be automaticly mounted. The manual say this is very important.
    But you should really read the announced manual. All the manuals all filled with step-by-step instructions for modifiing many preferences... That´s my experience!
    Now I´ve got a question, too...
    My OD-Master is bound to AD. I try to use win-Accounts for workin on mac. It work pretty good, by using an group-account. In this group-account I cennect the win-accounts to instruct all the restrictions I´ve set for user-accounts.
    But this way I can´t create a homefolder on a share...
    The share(netusers) is on the same server(mac-server2) like OD-Master is running. I´ve set the path for creating homefolders in Mobility option on "//mac-server2/netusers" for the group-account the AD-user is member of.
    Is it the wrong way?

  • I have an untitled empty folder on the desktopthat will not be trashed.

    I have an untitled empty folder on the desksktop. When I drag it to the trash the wastebasket icon turns to an arrow as if the empty folder is a disk. I am then asked if I want to force empty the trash- I do, but the empty folder is not deleted. Get info on the folder says the empty folder takes up 8 gig of space. Any ideas? Thanks!
    rskover

    I checked disk utility and it appears there are several items below the horizontal line on the left side. They are:
    uninstall_flash player
    Flash Player
    flash player11_7r700
    flash player
    decryptedFile.dmg
    None of these items appear on the desktop.
    Does that mean anything? I did have a problem when I updtaed my Flash Player- I got a warning when in Firefox saying that Flash has crashed. It took me awhile to repair it by reverting to an older archived version of Flash. Could I have caused a problem while doing that? Is there any way to resolve the problem and delete the empty folder?

  • Mac desktop. 10.6.8. Text edit. Not locked. Read and write. Still, documents are locking when they are moved from desktop to another folder on the server. Techies can't figure it out here. What am I not doing?

    Mac desktop. 10.6.8. Text edit. Not locked. Read and write, not read only. Documents are locking when they are moved from desktop to another folder or saved directly into that folder on the server. Not happening with anyone else but me and the boss's computer so has to be in the properties for my text edit software. Techies can't figure it out after trying for two weeks. Boss can do a cut and paste and put into a new document, but that's starting to become a problem.

    Mac desktop. 10.6.8. Text edit. Not locked. Read and write, not read only. Documents are locking when they are moved from desktop to another folder or saved directly into that folder on the server. Not happening with anyone else but me and the boss's computer so has to be in the properties for my text edit software. Techies can't figure it out after trying for two weeks. Boss can do a cut and paste and put into a new document, but that's starting to become a problem.

  • How to Upload a File on the Server

    Hi,
    I want to upload a file on the server from Windows Mobile Application. Can anyone please suggest me a way to do so?
    Thanks in advance, 
    Saheli Sur

    Following links should also help
    http://blog.anthonybaker.me/2013/06/how-to-upload-file-from-windows-phone.html
    http://stackoverflow.com/questions/19954287/how-to-upload-file-to-server-with-http-post-multipart-form-data/20000831#20000831
    Gaurav Khanna | Microsoft .NET MVP | Microsoft Community Contributor

  • Can't export to thumbdrive.  I have saved to a folder on the desktop, and it still won't work.  Do I need to change a setting?

    Can't export photos to a thumbdrive.  I have saved them to a folder on the desktop, and it still won't work.  Do I need to change a setting?

    I have saved them to a folder on the desktop, and it still won't work.
    What still won't work?  You have the photos in a folder on the Desktop, right?  So what happens when you drag that folder onto the thumbdrive? Many such drives have a slider lock switch.  Make sure it's not in the locked position. 
    Otherwise give us more detailed info on your setup and issue.
    OT

  • How do I keep my new finder window preference set to open a certain folder on the server?

    Since switching to Lion, my new finder window preference keeps resetting itself to default. When I open a new finder window I want it to be a certain folder on our server. This setting was persistent in Snow Leopard. Now I have to keep setting it back, sometimes more than once a day. Please help, its very time consuming to have to click through to get to the folder I use most often every time I open a finder window.
    Mac Pro (early 2009)
    Processor 2.66 GHz Quad-core Intel Xeon
    Memory 8 GB 1066 Mhz DDR3ECC
    Graphics ATI Radeon HD 4870 512 MB
    Mac OS X Lion 10.7.1 (11B26)

    Enabling thirds-party cookies is the default and if there aren't any other changes made then Firefox will show "Remember History"
    Choosing the "Use custom settings for history" setting doesn't make any changes.<br />
    If Firefox shows the "Use custom settings for history" setting then that is an indication that at least one of the history and cookie settings are not the default to make you aware that changes were If all History settings are default then you see "Firefox will: (Never) Remember History" and the custom settings are hidden.<br />

  • Sync a folder from the server with 2 other macs?

    This is a story of 3 macs. 
    Mac Mini - the server
    Macbook Air - Kelly's Computer
    Macbook Pro - Ethan's computer.
    We run a small business, and I've created a set of folders on the Mac Mini which runs 24/7 and words as a nice server.  (for example, a folder for HR, one for IT, one for Sales, one for markeing... and so on.  Each folder can contain anything from a MS Word doc to excel, to adobe files, to media files...
    I have a copy of that "set of folders on both Kelly and my computer.  So, I might open a spread sheet, or a word doc, make a change, then I save it and have to copy and replace the file on teh server (if I remember).
    Or, I might copy a new media file into the marketing folder, but then I need to remember to also copy it to the server.
    Anyone see where I'm going with this? 
    Google Docs - No.  I don't think it that's what I need.     I'm learning it, but Google docs changes the formating of my MS word files.  Plus, I have other kids of files, such as adobe files for marketing and such. 
    Is there a good "auto sync"   or something that could be a good choice?  I'm open to other ideas.  Perhaps I don't know google docs enough.  But, I'd also like to keep this in house.  IT's only the 2 of us, so I'm not a fan of depending on a third party company for something like this. 
    I seem to remember that Retrospect  would targe a specified folder, and anytime ANYTHING changed in that folder, it would sync it to the server.  Does it still do that?  Anything else?
    I'm open to suggestions.
    Thanks
    Ethan-

    I like Dropbox for this kind of thing. I've been using it for a year or two, very stable, free, and easy to use.
    The Google people have a talent for making their apps incompatible with Mavericks, so I would avoid Google Docs.
    If you don't want to use something in the cloud, there are a lot of apps for this, like Sync Folders  Mac App Store - Sync Folders , FolderWatch FolderWatch: Effortlessly Keep Two Folders in Sync | Mac.AppStorm , or you can do it with Automator and rsync. See Applescript: copy subfolders to another...: Apple Support Communities

  • Problem when I upload txt files to the server

    Hi, I have a problem when I try to upload files to the server, and I can't understand the fail.
    My case is:
    I have a jsp page where a from is.
    This form is sended to a servlet that proccess its content and upload the attach file to the server.
    It works correctly (it uploads the files, txt, xls and csv), the problem is when I try to upload a txt file like this, for example:
    Depth     Age
    0     0,1
    2     0,9
    3     2
    5     6
    6     9
    8     12
    34     25
    56     39
    101     40When I verify the uploaded file, this one has a character extra of return of line (a small square). This character prevents me from working then correctly with the file, on having detected a column of more.
    Which can be the problem?
    The code I use to uploaded the file is:
    try
        MyConnection Objconnection = new MyConnection();
        boolean isMultipart = FileUpload.isMultipartContent(req);
        // Create a factory for disk-based file items
        FileItemFactory factory = new DiskFileItemFactory();
         // Create a new file upload handler
        ServletFileUpload upload = new ServletFileUpload(factory);
        // Set overall request size constraint
        upload.setSizeMax(1024*512); //524288 Bytes (512 KB)
         // Parse the request
        List items = upload.parseRequest(req);
        // Process the uploaded items
        Iterator iter = items.iterator();
        String dat = new String();
        String typeFile = new String();
        while (iter.hasNext())
            FileItem item = (FileItem) iter.next();
            if (item.getFieldName().equals("typeFile") )
                typeFile = item.getString();
            if (!item.isFormField())
            String fieldName = item.getFieldName();
            String fileName = item.getName();
            String contentType = item.getContentType();
            boolean isInMemory = item.isInMemory();
            long sizeInBytes = item.getSize();
            int numbers=0;
            for(int i=fileName.length();(i=fileName.lastIndexOf('\\',i-1))>=0;)
                 numbers++;
            String stringFile[] = fileName.split("\\\\");
            HttpSession session = req.getSession(true);
            String loginSesion = (String)session.getAttribute("UserLogin");
            String newUserFolder = loginSesion;
            File createFile = new File("/usr/local/tomcat/webapps/Usuarios/FilesUp/"+newUserFolder);
            if ("AgeModel".equals(typeFile))
                createFile = new File("/usr/local/tomcat/webapps/Usuarios/FilesUp/AgeModels/"+newUserFolder);
            if (!createFile.exists())
                createFile.mkdir();
            fileName = stringFile[numbers];
            File uploadedFile = new File("/usr/local/tomcat/webapps/Usuarios/FilesUp/"+newUserFolder+"/"+fileName);
            if ("AgeModel".equals(typeFile) )
                uploadedFile = new File("/usr/local/tomcat/webapps/Usuarios/FilesUp/AgeModels/"+newUserFolder+"/"+fileName);
            existe = Objconnection.existFile(fileName, typeFile, loginSesion);
            if ( true == existe )
                 exito = false;
            else
                item.write(uploadedFile);
                ....// NOW REGISTER THE FILE IN TH DATA BASE
        } // if (!item.isFormField())
    } // WHILE ( iter.hasNext() )
                catch(Exception e) {
                out.println("Error de Aplicaci�n " + e.getMessage());
                return exito;
    ...THANKS

    Hi,
    Sorry I am aware this question was posted way back, but I am having similar problem and haven't been able to find the fix yet.
    So please let me known if you have got any ideas.
    My problem is same that I have to upload a CSV file from Client Machine (Windows) to Unix Application Server.
    I am using JSP method post and multipart/form-data (as in http://www.roseindia.net/jsp/file_upload/Sinle_upload.xhtml.shtml).
    The file is uploaded fine but the problem is it displays carraige Return (^M) a square boxes on Unix file.
    I can't ask user to convert file to Unox format before uploading. They just convert excel file to CSV and upload.
    Is there any way I can get rid of these characters as I have to use this file further.
    Sorry, I can't use any paid utility or tool for it.
    I would appreciate if you could please help.
    Thanks,
    SW

  • Error when i have migrated to mds repository in the server

    CAN ANY ONE TELL ME HOW TO RESOLVE THIS ISSUE
    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/inv/xxxinvavail/webui/ImedOrgNameRN, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1064)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1765)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:462)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:383)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._RF._jspService(_RF.java:205)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/inv/xxxinvavail/webui/ImedOrgNameRN, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
         at oracle.adf.mds.internal.MUnResolvedState.resolveState(MUnResolvedState.java:193)
         at oracle.adf.mds.internal.ElementData.resolveState(ElementData.java:509)
         at oracle.adf.mds.internal.ElementData.getUntransAttrVal(ElementData.java:922)
         at oracle.adf.mds.internal.ElementData.getAttrVal(ElementData.java:835)
         at oracle.adf.mds.internal.ElementData.getAttributeValue(ElementData.java:260)
         at oracle.adf.mds.internal.Cache.getAttribute(Cache.java:237)
         at oracle.adf.mds.internal.MetadataManagerBase.getAttributeValueInternal(MetadataManagerBase.java:1069)
         at oracle.adf.mds.internal.MElementImpl.getAttrValueOrExpression(MElementImpl.java:620)
         at oracle.adf.mds.internal.MElementImpl.getAttributeValue(MElementImpl.java:230)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.setDefaultValue(JRAD2AKMapper.java:730)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.setDefaultValue(JRAD2AKMapper.java:723)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.setDefaultValue(JRAD2AKMapper.java:723)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.setDefaultValue(JRAD2AKMapper.java:723)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.setDefaultValue(JRAD2AKMapper.java:723)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.loadPage(JRAD2AKMapper.java:690)
         at oracle.apps.fnd.framework.webui.OAPageBean.initializeCustomizationsMDS(OAPageBean.java:6026)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:1926)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1533)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:462)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:383)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._RF._jspService(_RF.java:205)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/inv/xxxinvavail/webui/ImedOrgNameRN, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
         at oracle.adf.mds.internal.MUnResolvedState.resolveState(MUnResolvedState.java:193)
         at oracle.adf.mds.internal.ElementData.resolveState(ElementData.java:509)
         at oracle.adf.mds.internal.ElementData.getUntransAttrVal(ElementData.java:922)
         at oracle.adf.mds.internal.ElementData.getAttrVal(ElementData.java:835)
         at oracle.adf.mds.internal.ElementData.getAttributeValue(ElementData.java:260)
         at oracle.adf.mds.internal.Cache.getAttribute(Cache.java:237)
         at oracle.adf.mds.internal.MetadataManagerBase.getAttributeValueInternal(MetadataManagerBase.java:1069)
         at oracle.adf.mds.internal.MElementImpl.getAttrValueOrExpression(MElementImpl.java:620)
         at oracle.adf.mds.internal.MElementImpl.getAttributeValue(MElementImpl.java:230)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.setDefaultValue(JRAD2AKMapper.java:730)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.setDefaultValue(JRAD2AKMapper.java:723)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.setDefaultValue(JRAD2AKMapper.java:723)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.setDefaultValue(JRAD2AKMapper.java:723)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.setDefaultValue(JRAD2AKMapper.java:723)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.loadPage(JRAD2AKMapper.java:690)
         at oracle.apps.fnd.framework.webui.OAPageBean.initializeCustomizationsMDS(OAPageBean.java:6026)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:1926)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1533)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:462)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:383)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._RF._jspService(_RF.java:205)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)

    Hi
    Thanks for fast response.
    These are the steps what i have did.
    1. I have created a new OnHandAvailaibility Page in the Inventory.in the JDeveloper
    2.The page was running fine in the JDeveloper with no errors
    3 I have to migrate it to server to run the same page inside the server
    4.What i did was i have made a zip by going in to particular path
    C:\JDeveloper\jdevhome\jdev\myclasses\oracle\apps\inv
    for xxxinvavail folder
    5.I have kept this file in the $JAVA_TOP/oracle/apps/inv/
    6 After that i have Unzipped those files
    now the directory path in the server is $JAVA_TOP/oracle/apps/inv/xxxinvavail/server
    and $JAVA_TOP/oracle/apps/inv/xxxinvavail/webui
    where it contains all the EO,s,Vo,s and AM and controller classes and xml files for that in their respective folders
    7.my PG files are there in the following path
    C:\JDeveloper\jdevhome\jdev\myprojects\oracle\apps\inv\webui
    8. After that i have went to C:\JDeveloper\jdevbin\jdev\bin this path and used
    import C:\JDev\jdeveloper\jdevhome\jdev\myprojects\oracle\apps\inv\xxxinvavail\webui\ImedSubDetailsRN.xml -username apps -password apps -rootdir C:\JDev\jdeveloper\jdevhome\jdev\myprojects\oracle\apps\inv\xxxinvavail\webui -rootPackage /oracle/apps/inv -dbconnection "(description = (address_list =
    (address = (community = tcp.world)(protocol = tcp) (host = train.cogentit.com)(port = 1521)))(connect_data = (sid = erptst)))"
    It ran succesfully but i dont know whether it is the correct way of running import command or can any one suggest me what i have to do from here.
    If i have to run XMLimporter from where i have to go and run that command
    How the pages are loaded in to the mds for their respective top by creating the same directory structure
    9 Here my main page is linked with other page and i am passing parameters through url for going to the next page and also it consists of three LOV regions
    10Can you tell me it is enough to load main page in to the server or i have to load all the RN AND PG in to the server by using XMLImporter.
    Can any one tell me the steps what i have to follow from here

  • I have received numerous requests from Firefox to download security updates. In each case, I have been unable to connect to the server-it just hangs for 45 minutes or more. Any suggestions? I'm running Snow Leopard, latest update.

    Macbook Pro purchased prior to Feb, 2011

    If you have problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the DMG file to the desktop
    * Firefox 5.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the Firefox Profile Folder, so you won't lose your bookmarks and other personal data.
    * http://kb.mozillazine.org/Profile_folder_-_Firefox

  • SRMSUS: Need a BSP MVC application example to upload file on to the server

    I need to modify view item_edit.inc in the BSP application SRMSUS to add a fileupload option. Also I need to change the filename before uploading on to a specific location on the server. Does anyone have an example that I can look at. Your help is greatly appreciated.
    Thanks
    Krishna
    [email protected]

    did it myself.

  • Upload a file to the server - multipart/form-data ?

    I need to upload a file from my local machine to the server from a jsp page. I was asked to use a form with ENCTYPE = "multipart/form-data". but I am not sure how it works. Can any one enlighten me on the process or is there any other way to do it.
    null

    You can find the jsp source & the java sources which exactly does that in the iFS CMS sample code section. Go to Products -> Internet File system -> sample code -> Content Management System. This application allows the user to upload files from a local file system into iFS. This application creates the file in the iFS repository. You may want to save it in the file system of the web server. You may have to make little changes but the functionality is exactly what you are looking for.
    Hope this helps.
    Rajesh

Maybe you are looking for