Moab Viewpoint
Configuring Web Application Properties

Configuring Web Application Properties

The following represents the out-of-the-box core.xml settings pertaining to web application properties:

<config>
<properties>
	<login-jsp-path>/WEB-INF/login.jsp</login-jsp-path>
	<login-servlet-path>/login</login-servlet-path>
	<app-jsp-path>/WEB-INF/application.jsp</app-jsp-path>
	<app-servlet-path>/app</app-servlet-path>
	<logout-parameter>logout</logout-parameter>
</properties>
</config>
  • <login-jsp-path> - The path to the jsp file that presents the login page. Note that the path is relative to the web application. This means that "WEB-INF/login.jsp" resolves to (assuming the default location of tomcat and a web application named "sample") /var/lib/tomcat6/webapps/sample/WEB-INF/login.jsp and "/WEB-INF/login.jsp" resolves to /WEB-INF/login.jsp. Also note that the tomcat user must have at least read access to this file.
  • <login-servlet-path> - The path to the servlet that authenticates a user attempting to get to the Viewpoint application. This URL must be visible to any given web browser. Default is /login.
  • <app-jsp-path> - The path to the jsp file that presents the application page. Note that the path is relative to the web application This means that "WEB-INF/application.jsp" resolves to (assuming the default location of tomcat and a web application named "sample") /var/lib/tomcat6/webapps/sample/WEB-INF/application.jsp and "/WEB-INF/application.jsp" resolves to /WEB-INF/application.jsp. Also note that the tomcat user must have at least read access to this file.
  • <app-servlet-path> - The path to the servlet that serves the Viewpoint application. This URL must be visible to any given web browser.
  • <logout-parameter> - The HTTP parameter used by the application and login servlets to assess whether the user is attempting to logout. This is used in the navigation configuration to create a Logout link. The URL in this case is /${login-servlet}?${logout-parameter}.