Pointing to the application directory

I'm been using this (LeaveApp) folder for development. Now I want to point to this folder which is in c:\LeaveApp. How to do it?
Please show the guideline or url if you know it. Thanks.

You know you can deploy more than just the ROOT webapp, right (assuming you're talking about the ROOT webapp that comes with Tomcat)?
The proper way to create a redistributable webapp is to create the complete folder structure as it would appear in ROOT, with just the files from your app, and then zip them up in a war file (you can use WinZip or the Java jar tool to create the war file, just name the file .war instead of .zip or .jar.
So imagine you have a directory layout like this:../myapp/*.jsp
../myapp/WEB-INF/web.xml
../myapp/WEB-INF/lib/*.jar
../myapp/WEB-INF/classes/....You should then zip up the contents of the myapp folder (the myapp folder itself should NOT be in the zip) and call the file myapp.war. Then when you deploy it (for example by placing it in the webapps directory of a Tomcat installation), it will be available on the server as (for example) http://localhost:8080/myapp/ (the name is derived from the name of war file by default).

Similar Messages

  • How to load content from the application directory?

    I'm currently working on an AIR desktop application that will be distributed on OSX and Windows. The main applicaiton SWF will load a child swf that has been packaged. When I've attempted to load the child SWF via loader.load() with a URI of "app:\\TheChildContentSWF.swf", the load has failed with an IOError. If I force a copy of the the SWF (in OSX) to the MacOS directory where the executable resides, the child SWF would load. I was a little stumped by this so I decided to check what the nativePath of the application directory was via File.applicationDirectory.nativePath (it turned out to point at the Resources directory). Does the "app://" URI point to different paths when using Loader vs File?
    If so, is there a way to package content so that it is installed in a directory that Loader can recognize without hitting security sandbox issues?
    Visual of the OSX app directory structure (simplified)
    MyApp.app\
         Contents\
              Frameworks\
              MacOS\
                   executable
              Resources\
                   TheAppSWF.swf
                   TheChildContentSWF.swf
                    ... // other content
    Thanks for any help!
    Josh

    When loading application, move the swf to the applicationStorage folder if it doesn't exist already.
    Something like ...
    private var swfDistribute:File = File.applicationDirectory.resolvePath('ResourcesChildContentSWF.swf');
    private var swfLocal:File      = File.applicationStorageDirectory.resolvePath('TheChildContentSWF.swf');
    private function onCreationComplete():void
       if (!swfLocal.exists) {
          if (swfDistribute.exists) {
             swfDistribute.copyTo(swfLocal);
    Then you should be able to call your loader.load() URI with the variable (swfLocal)

  • PS CS4 64-bit (in Web Premium CS4) on Win 7 PC.  I did a duplicate file check on my hdd and deleted dup files. Now I get "Some of the application components are missing from the Application directory, Please reinstall.."

    PS CS4 64-bit (in Web Premium CS4) on Win 7 PC.  I did a duplicate file check on my hdd and deleted dup files. Now when I try to run PS 64-bit I get "Some of the application components are missing from the Application directory, Please reinstall the application." When I do this, it seems to install correctly until the very end, then it says "Installation Complete With Errors", and when I try to run I get the same 'component missing message'. What can I do? PS 32 bit runs fine. Some of the other applications ib Web Premium say the shortcut has been changed or removed. I appreciate your help...Thank you

    Best advice I can think of is to uninstall and run the Clean Script from here.
    Adobe - Adobe CS4 Clean Script

  • 'Some of the application components are missing from the Application directory. Please reinstall the application.'

    I tried opening PS and this message popped up 'Some of the application components are missing from the Application directory. Please reinstall the application.' I cannot find the Reinstall button?

    I followed these instructions but cannot find how to reinstall PS. When I click on the membership link the page displays as NOT BEING FOUND.
    Quit all applications. 
    In the Finder, navigate to the Photoshop application folder. 
    Do one of the following: 
    If the Locales folder is not listed within the application folder, then skip to Step 5.
    If the Locales folder is listed within the application folder, then drag the Locales folder to the Trash.
    Choose Finder > Empty Trash. 
    Start the installer for Photoshop or your edition of the Adobe Creative Suite. 
    If you purchased boxed software, then insert the installation DVD-ROM into your computer's DVD drive.
    If you purchased downloadable software from the Adobe Online Store, then double-click the disk image (.dmg) file or files that you downloaded. (If you no longer have the downloaded disk image file or files, then log in to your account at www.adobe.com/membership to download the installer.)

  • Some of the application components are missing from the Application directory, Please reinstall the

    Some of the application components are missing from the Application directory, Please reinstall the application. This is what i am getting tying to open Photoshop Cs6???

    Renée in the future when removing Photoshop CC please utilize the uninstaller located in the Applications/Utilities/Adobe Installers folder.  Please run the uninstaller and then reinstall.  If you continue to face difficulty reinstalling Photoshop CC then please see CC desktop lists applications as "Up to Date" when not installed - http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html.

  • How do you set the application directory to be constant in a project?

    Hello,
        How do you make the application directory to be same all the time? Every time I create a executable I want to be able to have the executable in the same directory all the time.
    Regards,
      Kaspar
    Regards,
    Kaspar

    Do you mean the path that the application builder puts your executable?
    Please mention the version of LV you're using or post a screenshot of your attempt, screenshots differ for LV versions.
    André
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

  • Just updated my iMac to OS X Yosemite and my Photoshop will no longer open. Pop up message informing Some of the application components are missing from the Application directory. Please reinstall the application. I have the pay monthly package and don't

    Just updated my iMac to OS X Yosemite and my Photoshop will no longer open. Pop up message informing, Some of the application components are missing from the Application directory, Please reinstall the application. I have the pay monthly package and don't know where to start.

    Do as it says: Reinstall the program. Run the cleaner tool and let CC app do the magic.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Mylenium

  • What is the Blue Point behind the application in ios7?

    What is the blue point beside the application in ios 7?

    I believe that has to do with an app update - perhaps the app has an update outstainding, or it was just updated.

  • CS5 Photoshop I get the message: Some of the application components are missing from the Application directory, Please reinstall the application.

    When trying to open Photoshop CS5 I get the following Message: Some of the application components are missing from the Application directory, Please reinstall the application.
    Can I get these components downloaded as my optical drive is broken.

    Download CS5 products

  • Error "Some of the application components are missing from the Application directory, Please reinsta

    I downloaded Photoshop Extended about a week ago... the second time I opened it, an error message came up saying "Some of the application components are missing from the Application directory, Please reinstall the application."  So I uninstalled it, then re-intalled it.  I was able to open it successfully after that - and I used it once.  I have just gone to open it again and it is reading the same error.  This is very frustrating - why is it doing this?  I don't want to have to unintall and reinstall everytime I want to use it.  Please help

    I want to bump this topic, again. So far the clues I've found are that there may be problems when the program was installed in one user account, and used in a different one. Perhaps there is a language setting, too. Can anyone give tips on this error for Mac, specifically Lion OS?

  • Error message, "Some of the application components are missing from the Application directory."

    I received the following error message: "Some of the application components are missing from the Application directory. Please reinstall the application. So, I uninstalled (Photoshop CS5), reinstalled and got the message again! Please help! I have no idea what I'm doing wrong.

    Nobody can tell you anything without proper system info or other technical details.
    Mylenium

  • I have been using Elements11 for almost a year. I am suddenly getting the message:Some of the application componentsare missing from the application directory. Please reinstall. I deleted old version, reinstalled on my Mac and now get this message:A requi

    I have been using Elements11 for almost a year. I am suddenly getting the message:Some of the application components are missing from the application directory. Please reinstall. I deleted old version, reinstalled on my Mac and now get this message:A required application library failed to load and the product cannot continue. I also get the first message again. Organizer works but not editor. Frustrated!

    What a waste of space to paste the code.
    Why not ask in the iLife > iPhoto forum where your question belongs.

  • I had photoshop installed fine.  We had to replace our hard drive, but had a full backup and everything else is working except for elements.  This is the message I get -Some of the application components are missing from the Application directory, Please

    I had photoshop installed fine.  We had to replace our hard drive, but had a full backup and everything else is working except for elements.  This is the message I get -Some of the application components are missing from the Application directory, Please reinstall the application.  I have reinstalled, but am getting the same message.

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    You can also try to repair the places database with this extension:
    *https://addons.mozilla.org/firefox/addon/places-maintenance/

  • Why are there no applications in the Applications directory on terminal

    I have updated to OS X Mavericks 10.9.1 and cannot access the Applications directory through terminal.
    $ cd /Users/kwilliams/Applications $ ls -la total 0 drwxrwxrwx   2 kwilliams  staff    68 14 Aug 10:10 . drwxr-xr-x@ 37 kwilliams  staff  1258  9 Sep 10:26 .. 
    I have previously used terminal to access the Applications directory but now it is showing no Applications?
    If I click on the Applications folder in Finder, all my applications are present.
    I need to be able to access Applications through terminal to run specific programs, so any help would be appreciated.
    Many thanks

    You need to enter cd /Applications and not /Users/kwilliams/Applications.
    (99923)

  • How to save files into the application directory

    In Struts..i am using FileWriter to create a new file in struts..
    What path name shd be given for it be saved in Webapps/Application directory?

    You should get the context path first,then you can construct a absolute path for you destination file.To get the context path by the following way:
    public class TestInServlet extends HttpServlet{
         public void doPost(HttpServletRequest req,HttpServletResponse res){
                                               //The getRealPath() is deprecated.
              String ctxPath = req.getContextPath();
    }Regards,
    mauvespan

Maybe you are looking for

  • VPN client cannot access inside hosts

    Hello,     I have an ASA 5505 device with the attached configuration and my vpn clients can connect to it fine.  Although, once a vpn client is connected they cannot RDP, ping, or telnet any internal hosts.  The goal is to have a connected vpn client

  • My iphone 3g no longer will sinc to itunes

    i have deleted itunes and quicktime and re installed it, turning off computer , but still advice to get it to sinc does not work bought new cable from apple and the hubs all work as moved printer to each hub and they all bleep when plugged in i want

  • Messages stuck in SMQ2

    Dear All, I have configured a scenario Mail to PROXY Asynchronous. Process is working fine But every time transaction happen all messages are stuck in R/3 - ECC . A  developer needs to release these messages manually using SMQ2. what is the reason fo

  • Photoshop/iPhoto

    Hi, hope someone can help me. I'm new to photoshop cs3. When I work in PS and want to save a picture as a psd or jpeg (in the same folder as I originally did open it in) I' not able to see it in iPhoto. When I want to open a picture again in Ps (that

  • Deployment and configuration of MVC framework

    Guys, I have a scenario where I need to deploy one of PHP MVC framework and use Oracle 10g web forms back end queries . Have anyone done anything similar ? Appreciate if you people give me some ideas considering me as a new bee to oracle 10g forms .