Changes for page Development-Tips and Tricks
Last modified by Johann Werner on 2011/11/30 09:44
From version 9.1
edited by Johann Werner
on 2011/11/30 09:44
on 2011/11/30 09:44
Change comment:
There is no comment for this version
To version 8.1
edited by Pascal Robert
on 2007/09/03 14:47
on 2007/09/03 14:47
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Development-Tips and Tricks 1 +Web Applications-Development-Tips and Tricks - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. jw1 +XWiki.probert - Content
-
... ... @@ -4,12 +4,11 @@ 4 4 5 5 There are several different URL's associated with your application, all of which can be retrieved from various methods on WOApplication. Here is a quick cheat sheet of them: 6 6 7 -* WOApplication.application().applicationBaseURL() = /WebObjects 8 8 * WOApplication.application().baseURL() = /WebObjects 8 +* WOApplication.application().applicationBaseURL() = /WebObjects 9 9 * WOApplication.application().cgiAdaptorURL() = [[http://hostname/cgi-bin/WebObjects]] 10 10 * WOApplication.application().directConnectURL() = [[http://hostname:port/cgi-bin/WebObjects/MyApplication.woa]] 11 11 * WOApplication.application().frameworksBaseURL() = /WebObjects/Frameworks 12 -* WOApplication.application().host() = hostname 13 13 * WOApplication.application().servletConnectURL() = [[http://hostname/cgi-bin/WebObjects/MyApplication.woa]] 14 14 * WOApplication.application().webserverConnectURL() = [[http://hostname/cgi-bin/WebObjects/MyApplication.woa/-port]] 15 15 ... ... @@ -77,4 +77,5 @@ 77 77 return (StringUtils.substringBeforeLast(StringUtils.abbreviate((HTMLUtil.stripHTMLTags(htmlString)), numberOfChar), " ")) + "..."; 78 78 } 79 79 79 + 80 80 {{/code}}