Server Codebase Property
The server codebase property, wt.server.codebase, specifies the URL to the Windchill codebase virtual directory used by Windchill servers when producing URLs to static files. Most often, the server codebase property is used in a <BASE> tag within dynamic HTML pages. This allows relative HREFs to be used within the page for static resources, such as stylesheets and images. It is also used by client-side Java code to access files from the server's codebase, such as wt.properties or JAR files.
All files in the Windchill codebase virtual directory can be available anonymously, except JSPs. This is because the dynamic nature of the JSPs typically requires that most pages are unique to a particular user.
When standalone Java applications are run outside of a browser, some files in the server codebase must be available anonymously because the HTTP protocol handler in the standard Java SE Runtime Environment (JRE), does not support authentication challenges. These files include wt.properties and JAR files.
¿Fue esto útil?