Examples of applicationExtension()


Examples of com.webobjects.appserver.WOApplication.applicationExtension()

    // WOContext's URL absolute, and it is then unable to render relative paths. (Long story short.)
    //
    // Note: If you configured the adaptor's WebObjectsAlias to something other than the default,
    // make sure to also set your WOAdaptorURL property to match.  Otherwise, asking the new context
    // the path to a direct action or component action URL will give an incorrect result.
    String requestUrl = app.cgiAdaptorURL() + "/" + app.name() + app.applicationExtension();
    try {
      URL url = new URL(requestUrl);
      requestUrl = url.getPath(); // Get just the part of the URL that is relative to the server root.
    } catch (MalformedURLException mue) {
      // The above should never fail.  As a last resort, using the empty string will
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.