B
Upgrading the Pet Store Application and the Examples Server
4. Replace with the following:
public void setNumItems(int numItems) {
public void setStartIndex(int startIndex) {
5. Save and close
6. Repeat steps 1 through 5 for the remaining files:
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
WL_HOME\config\examples> setexamplesenv.cmd
2. In the same console, change to the
WL_HOME\samples\petStore\src\petstore\src
WL_HOME\samples\petStore\src\petstore\src> build
The script builds
WL_HOME\samples\petStore\src\petstore\build
B-6
BEA WebLogic Server 7.0 Upgrade Guide
}
public void setStartIndex(String startIndexStr) {
super.setNumItems(startIndexStr);
}
super.setNumItems(numItems);
}
super.setNumItems(startIndex);
}
ProductListTag.java
MyListTag.java
ProductItemListTag.java
ProductListTag.java
SearchListTag.java
petstore.ear
.
directory, and set your environment:
to
(or
)
.sh
directory and rebuild:
.
Need help?
Do you have a question about the WebLogic Server 7 and is the answer not in the manual?