BEA WebLogic Server 7 Instrukcja Użytkownika Strona 112

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 146
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 111
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.
Przeglądanie stron 111
1 2 ... 107 108 109 110 111 112 113 114 115 116 117 ... 145 146

Komentarze do niniejszej Instrukcji

Brak uwag