uCosminexus Application Server, Application Setup Guide
You define the mapping of servlets and JSPs.
Servlet attribute file
Execute the following command to acquire a servlet attribute file:
cjgetappprop [server-name] [-nameserver provider-URL] -name J2EE application-name -type war -resname WAR-display-name/servlet-and-JSP-display-name -c path-of-the-servlet-attribute-file |
cjgetappprop MyServer -name adder -type war -resname adder/adder_sv -c C:\home\adder_war.xml
Execute the following command to apply the values of the servlet attribute file:
cjsetappprop [server-name] [-nameserver provider-URL] -name J2EE application-name -type war -resname WAR-display-name/servlet-and-JSP-display-name -c path-of-the-servlet-attribute-file |
cjsetappprop MyServer -name adder -type war -resname adder/adder_sv -c C:\home\adder_war.xml
| Item | Mandatory | Corresponding tag |
|---|---|---|
| URL pattern | Y | <url-pattern> |
For details on the property settings, see 3.9.1 Contents of the servlet property file in the uCosminexus Application Server Application and Resource Definition Reference Guide.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.