BEA WebLogic Server 7 사용자 설명서

다운로드
페이지 146
B
Upgrading the Pet Store Application and the Examples Server
B-6
BEA WebLogic Server 7.0 Upgrade Guide
}
  public void setStartIndex(String startIndexStr) {
super.setNumItems(startIndexStr);
}
4. Replace with the following:
public void setNumItems(int numItems) {
super.setNumItems(numItems);
}
public void setStartIndex(int startIndex) {
super.setNumItems(startIndex);
}
5. Save and close 
ProductListTag.java
.
6. Repeat steps 1 through 5 for the remaining files:
MyListTag.java
ProductItemListTag.java
ProductListTag.java
SearchListTag.java
Rebuild Pet Store
After making the corrections to Pet Store, rebuild the application.
1. In a command console, change to theWebLogic Server 6.x 
WL_HOME\config\examples
 directory, and set your environment: 
WL_HOME\config\examples
> setexamplesenv.cmd 
(or 
.sh
)
2. In the same console, change to the 
WL_HOME\samples\petStore\src\petstore\src
 directory and rebuild: 
WL_HOME\samples\petStore\src\petstore\src> build
The script builds 
petstore.ear
 to 
WL_HOME\samples\petStore\src\petstore\build