How do I change the Web App Root

During installation I made a mistake of choosing the compiled output directory as the Wen App Root, whereas it seems that it actually wanted the source directory. Consequently whenever I try to open a source jsp file I get
Unable to create this part due to an internal error. Reason for the failure:
The NitroX editor can only be used with the pages located in the Web Application Root directory.
The Web Application Root directory is the directory containing the WEB-INF folder.
The text editor is being used instead.
How do I change the Web App Root directory, I can't find a menu or preference that shows the current value or an ability to establish a new location.

Does this mean then that you are forced to have a WEB-INF folder sitting beside JSPs you want to edit with NitroX?
e.g. If my project directory structure looks like this:
project-root
|-- dist
|      |- WEB-INF
|      |- a.jsp
|      |- b.jsp
|-- web
        |- a.jsp
        |- b.jsp[/code:1:daa10af002]
i.e. I keep my JSP source code in /web but when I run my Ant build the JSPs are copied to the dist directory.
If I try to edit the files in /web using NitroX I get the error mentioned above. Does this mean I have to make /web the Web App Root directory and thus have to have a WEB-INF folder inside it?
Cheers,
mEEch                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • How to add a custom web apps root page?

    I saw in Jan 2013 System Update the following:
    "Render a custom page when accessing the root URL of a Web App. For example, if you have a “blog” Web App, the items can be made accessible at  /blog/my-blog-post, and you’ll have the ability to customize the /blog page"
    Could someone point me in the correct direction for instructions on how to make use of this feature. 
    Couldn't appear to find a link from the Blog release notes to anything, and also tried trawling through support and forums for a suitable post.
    Closest I found was one about using sub-folders for web app items.
    I've tried adding a page in website admin, with the same URL as the web app, but it simply throws an error as it clashes with Web App url.
    Cheers
    Mike

    Hi Mike.
    Because a folder can have a index.html Web apps in the past you could not access that ability. You had to make a page and you could not SEO call it the same as your web app.
    SO
    Your web app is called Blog.
    You can now make a folder in your root called Blog.
    In that folder you can create a page and give it a url of index.html
    Now when you access the a web app directly - www.yoursite.com/yourwebapp or www.yoursite.com/yourwebapp/index/html you will access that index page.
    You can also put other pages under that folder if you want too.

  • TS1702 how  do you change the contact app to appear first name last name once it is in another setup mode

    how do you change the setup in the contact app to first name, last name once it is in differently

    Settings>Mail, Contacts, Calendars>Contacts>Sort Order - First, Last or Last, First .... or Display Order and make the changes that you want.

  • How can i change the Director App Icon for Windows?

    How can i change the icon for my App for Windows? Director can do this from the Publish Settings. The Custom icon for app doesn't work. I select a .ico file for windows and Director can't attach this to the app.
    There is anothe way to do that simple like in Mac with the Contest folder?
    Regards
    Gino Delgado

    You can also try my RiEditor here: http://www.director-online.com/dougwiki/index.php?title=Resource_and_Icon_Editor
    However, to answer your original question directly, I suspect there's something wrong with your .ico file as the feature in the publish settings works just fine, last I tried.

  • How can I change the contacts app settings to view by groups?

    When I had an iPod Touch (3rd generation), I was able to sort my contacts by groups by using another app and then when I launched the default contacts app I could tap the "Groups" button and I saw a list of them (Family, Friends, Businesses, etc). That way, I could tap the group I wanted and only view those contacts. Now I'm using an iPhone (4th generation with iOS 6.1.2) and it is the most obnoxious contacts system in the world. I now have to unselect every group I don't want to see, and it's a pain-in-the-neck to get Facebook contacts assigned to groups as the app I use to assign contacts to groups isn't "permitted" to use those contacts that are from Facebook or those who don't have a Facebook link unless I add them and delete the old. I work with a nonprofit organization and I have a lot of contacts for various businesses through them but I shouldn't have to unselect 12 different groups just to view a single group. I've tried looking in settings and can't figure out how to change this. I must have over 100 contacts and this is a pain to deal with. Did Apple really think this was the best change they ever made to the contacts app? Considering they still haven't implemented the ability to assign contacts to groups...
    Another thought is why not also view contacts by business or "theme"? Such as, what if you have a large, extended family and might want to view just 1 section (like my cousins' family who have various last names due to marriage). This is why being able to view by group is so important to me but if I create 5 different groups for family and friends, that means I have to unselect 4 of them AND all the other groups for businesses, work, community, etc just to view the specific contacts. So, did Apple change this or am I just not seeing how to view them the way I want?

    I assume that you are in Germany ? Try going to the bottom of the Featured tab in the App Store app on your iPad and tap on your account id, tap on 'View Apple ID' on the popup and log into your account, and then select the Country/Region section and select Germany.

  • How to find out the web/app server used by OBIEE and OBIEE HomePath (Urgent

    Hi All ,
    I have two questions
    1) I wanted to know the OBIEE home path if it is installed on the some other machine (Client's Machine).
    I wanted to update the .css files present on the machine, but before updating the file i should know the home path, to reach the desired .css file and update accordingly. I dont know where they have installed OBIEE.By default OBIEE home is (c:\) but if the user has selected some other drive then, how we can find the OBIEE Home path?
    I have the access to the machine.
    2) The path of the CSS files depends on the web server used by OBIEE.
    When IIS web server is used, the CSS files in OracleBI_HOME\web\app\res directory
    when OC4J is used, the CSS files in OracleBI_HOME\oc4j_bi\j2ee\home\applications\analytics\analytics\res
    so inorder to update i must know which server is being used.
    Is there any way to find out which web application server is installed on the clients machine?
    Thanks in advance.!!!!!

    Please see responses to your first posting here: OBI EE Home Path

  • How do I change the default app for opening a file;

    If I right click on a file in finder, it tells me what the default app for opening the file is.  it also gives me a short list of other apps.
    I would like to change the defaults for several file types, and also delete one app from the short list and add a different one.
    How do I do this?
    thanks

    You could try this:
    - right-click (tap with 2 fingers on the apple trackpad) on a file you want to open in openoffice
    - move the cursor over "open with". You should see the default app, then some suggestions, then app store, then at the end, "other...".  Select "other..."
    - find openoffice in your applications folder and select it  (if it is dimmed, change "enable: " from "recommended applications" to "all applications", then you can select "openoffice")
    - check "always open with"
    - then, click "open".  The file will open in openoffice and from now on, openoffice will be the default application to open the type of file you just opened.  You should also see the icon of all files of the same type change to the openoffice file icon.
    This is supposed to work, but that's not always the case, especially when the default app happens to be an Apple app.  If you don't want to use that Apple app, delete it (or move it elsewhere if you want a backup). That can help.
    Good luck!

  • How can I change the default app to open when clicking on a YouTube video?

    Since Firefox updated recently, I cannot long-tap to open a YouTube video with a different player (wanting to use PVStar+). Now tapping opens up the YouTube player, despite the fact it is disabled. How can I open with a custom app?

    Change the '''Action''' for '''''mailto''''' in the Applications tab of Options.
    [http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox]

  • How do I change the FirstClass app signature setting?

    I am using the FistClass app on my iPad and I want to change the signature setting.  Changing the general settings do not impact this app.  Any suggestions?
    Thanks

    I just downloaded it. In the login screen tap the info button and change the signature on that.

  • How can I change the Safari, App Store, iTunes, etc icons?

    I can change the icons on my folders and stuff, and I used LiteIcon to change the Finder, Dashboard and Trash icons but I can't change Safari icon in LiteIcon and I can't use the Get Info method either! Any help? Thank you

    For safari (for example), if its on your dock control click it and go to options > show in finder
    Control click safari there and from the drop down menu click "Get Info"
         Alternatives to this would be to hit command-i or the get info button underneath the icon
    With the window that pops up:
         Click the lock at the bottom to unlock it
         Go to the Sharing & Permission section
         Set all the users listed to "read and write"
    Now to copy the icon that you want to copy, go to the top of the get info window and click the safari icon
    to copy it push command-c
    to replace it push command-v after you have coppied another icon
    to get it back to its normal icon select the icon and push command-x
    You might have to quit and relaunch the app for it to work. 

  • How do I change the default App Store from us to uk?

    My iPad mini is from the USA but I live in uk and want to change default App Store and iTunes Store to uk

    Change iTune Store
    http://support.apple.com/kb/HT1311

  • How do I change the default App Store account on my Mac?

    I recently traded my MacBook Pro for a MacBook Air with someone in my area. When I go into the AppStore, it allows me to sign into my Apple account and download apps, but when I go to my updates tab, in order to update it says I have to sign in to a different E-mail account that belongs to the individual I traded with. It doesn't allow me to sign into my own account from that screen and is preventing me from doing any updates to my iLife software.
    Thanks for any help you can offer!

    Here are the steps the previous owner should have taken -- I suggest you do them instead:
    http://support.apple.com/kb/HT5189

  • How to get web app root?

    IF im in a servlet/jsp how do I get the web app root? for example, if my web app's url in the browser is http://www.server.com/webapp/Servlet
    then "webapp" is the root... how do I get that in code? I don't want request URI or anything like that... just simply the web app root without anything else. Thanks

    have u tried this
    http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletRequest.html#getContextPath()
    = request.getContextPath();
    or one of the other similar methods in httprequest. one them does the trick

  • How to get the physical path of my web app root context ?

    Hi,
    I used this code to initialize my LOG4J logger.
            System.out.println(Version + "Servlet context path : " + sctx .getContextPath());
            String path = sctx .getRealPath("/");
            fullyqualifiedlog4jpath = path + "log4j.xml";
            File locallogxml = new File(fullyqualifiedlog4jpath);
            if (locallogxml.exists()) {
                initialized = true;
                DOMConfigurator.configure(fullyqualifiedlog4jpath);
                log = Logger.getLogger(Log4j.class.getName());
                log.info(Version + "Logger initialized");
            else {
                System.out.println(Version + "Unable to locate the log4j.xml file");
            }It works perfectly when running the application with the embedded Jdev11 WLS.
    When deploying the application on a standalone WLS server the path is not returned ;-( I get a null value.
    Does someone has three lines of code which get the physical path of my web app root context?
    Yves

    Changed the methiod used to access log4j.xml.
            FacesContext ctx = FacesContext.getCurrentInstance();
            ServletContext sctx = (ServletContext) ctx.getExternalContext().getContext();
            String contextPath = sctx.getContextPath();
            HttpServletRequest  hsr = (HttpServletRequest)ctx.getExternalContext().getRequest();
            String host = hsr.getServerName();
            int port = hsr.getServerPort();
            try
              String urlstring = "http://" + host + ":" + port + contextPath + "/faces/log4j.xml";
              DOMConfigurator.configure(new URL(urlstring));
              log = Logger.getLogger(Log4j.class.getName());
    .....using the URL s OK.

  • How do I change the URL to the Remote Web Access server in Windows Server 2012?

    Hallo!
    I have set up a Remote Dexktop Service using the "Quick" deployment method in Server Manager and everything is working greate internally, but I cannot start an app published in Remote Web Access from outside our network.
    The problem is that it wants to start the using the internal URL, for example, server.domain.local, instead of the external one, for example remote.server.com.
    I therefore want to know how I can change the default URL for the Remote Web Access server and all the Remote Web Apps in Windows Server 2012?
    I have allready looked in Server Manager and I can change some of the deployment settings in server manager, but there is no way to alter the URL of the Remote Web Access server. See below images:
    Pressing the internal URL only results in opening the internal URL.
    This was very simple to do in Windows Server 2008 R2 using the tsconfig tool, but it does not seam to be any way of solving this in server manager.
    A possible sollution would be to alter the registry someware in HKLM->Software->Microsoft->Windows NT->Terminal Services. But this can easaly lead to problems due to wrong format, etc. and is probably not supported.
    Is there a simpler and supported way?

    That option can be used to connect to any machine that you want.  The error message indicates that the client machine cannot resolve the name "server.domain.local" to an IP address that it can connect to.
    You have several options for configuring that tab on the RDweb site.  You can even remove it entirely. 
    Customization of RD Web Site
    RD Web provides a number of customization options for the RD Web interface, including the ability to control default Gateway server settings and redirection settings. These settings
    are controlled by editing the web.config file located in %SYSTEMROOT%\Web\RDWeb\Pages.
    Displaying Local Help
    To display local help for users instead of the web-based help, edit the LocalHelp value and change the value from false to true.
    <!-- LocalHelp: Displays local help for users, instead of the web-based help. Value must be "true" or "false" -->
    <add key="LocalHelp" value="false" />
    When this value is changed, a user that clicks on Help in the upper right corner of the RD Web login page will open the local help file instead of web-based help.
    Hiding the Connect to a Remote PC Tab
    The RDWeb page
    Connect to a Remote PC tab can be hidden from users to prevent connections to any servers through RD Web other than the servers configured in a collection. By default, this setting is set to true and the
    Remote Desktops tab is displayed. To hide the tab, set the value to false.
    <!-- ShowDesktops: Displays or hides the Remote Desktops tab. Value must be "true" or "false" -->
    <add key="ShowDesktops" value="true" />
    When the value is set to false, a user will not see the Connect to a Remote PC tab when logged on to the RD Web page
    RD Gateway Settings
    If the Connect to a Remote PC tab is enabled, an administrator can configure RD Web to use a Gateway server when connecting to remote computers. To specify a gateway, edit the below
    value with the name of the RD Gateway server:
    <!-- DefaultTSGateway: Admin can preset this to a given Gateway name, or set to "" for no gateway. -->
    <add key="DefaultTSGateway" value="" />
    The default authentication method for the RD Gateway server can also be configured by editing the following section of the web.config:
    <!-- GatewayCredentialsSource: TS Gateway Authentication Type.
    Admins can preset this.
    0 = User Password
    1 = Smartcard
    4 = "Ask me later"
    -->
    <add key="GatewayCredentialsSource" value="0" />
    Devices and Resources
    By default, only Printers and Clipboard are redirected on connections made using the Connect to a Remote PC tab. If the user clicks the
    Options << button, the redirection settings for a specific connection can be modified
    To configure each specified redirection option to be enabled or disabled by default, edit the following section in the web.config file:
    <!-- Devices and resources: Preset the Checkbox values to either true or false -->
    <add key="xPrinterRedirection" value="true" />
    <add key="xClipboard" value="true" />
    <add key="xDriveRedirection" value="false" />
    <add key="xPnPRedirection" value="false" />
    <add key="xPortRedirection" value="false" />
    LAN Experience Defaults
    Windows Server 2012 RD Web Access can display a new user selectable option for optimizing the connection for a LAN experience. This option is displayed at the bottom of the RD Web
    page and can be controlled by the administrator using the following section of the web.config file:
    <!--  Checkbox to opt for optimized LAN experience -->
    <add key="ShowOptimizeExperience" value="false" />
    <add key="OptimizeExperienceState" value="false" />
    This value is set to false by default, but when changed to true, the following checkbox will display at the bottom of the webpage. The LAN experience
    checkbox can also be set as enabled by default.
    Each setting can also be modified using the IIS Manager user interface:
    Don Geddes - SR Support Escalation Engineer - Remote Desktop Services - Printing and Imaging

Maybe you are looking for

  • Slow email

    Hi everyone. Newbie here.....Dell Inspirion user for years, bought our first Macbook yesterday. Our email still runs through Yahoo....obviously through Firefox. It's really slow compared to the "old" Dell. It takes 10-15 seconds for an email to respo

  • BDC/LSMW Doubt!

    Hi Friends! 1)    Could u pls tell me when to use BDC & When to use LSMW I am a technical Person i want to load data using LSMW Then when to do that? apart from doent need programming effort. 2) My Second Doubt is From LSMW, Suppose i am doing lsmw i

  • Cisco 1130 ag - The system is not configured to boot automatically

    I have a problem on a 1131ag Access point on recycle it stops and makes me maunually type BOOT at the ap: prompt ----------VVVVVVVVVVVVV---------------- ap: Xmodem file system is available. flashfs[0]: 282 files, 13 directories flashfs[0]: 0 orphaned

  • Navigation builders for Mac

    I used to use Pluginlab for building my site navigation as it had a wonderful integration into DW and also created a sitemap.xml perfectly.  However, that being said, the drop downs don't work on iPhone and it seems they've gone out of business, anyw

  • Problem clearing applet's screen for different images

    I have an applet that displays several jpg-images. Images are photos of different sizes that are portrait and landscape. Problem is that the rest of a portrait image remains at the screen when a landscape image is dispayed and in the same way the res