BEA WebLogic Server 7 Bedienungsanleitung Seite 112

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 146
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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.
Seitenansicht 111
1 2 ... 107 108 109 110 111 112 113 114 115 116 117 ... 145 146

Kommentare zu diesen Handbüchern

Keine Kommentare