axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Smith <anthony.sm...@fedex.com>
Subject AXIS error
Date Wed, 26 Jun 2002 21:44:54 GMT
Sorry, something seems to have gone wrong... here are the details:

Error while compiling:
C:\tomcat-3.3\webapps\axis\WEB-INFjwsClasses\NHLService.java



What is the problmeo????


import java.util.*;

public class NHLService {
  HashMap standings = new HashMap();

  public NHLService() {
    // NHL - part of the standings as per 04/07/2002
    standings.put("atlantic/philadelphia", "1");
    standings.put("atlantic/ny islanders", "2");
    standings.put("atlantic/new jersey", "3");
    standings.put("central/detroit", "1");
    standings.put("central/chicago", "2");
    standings.put("central/st.louis", "3");
  }

  public String getCurrentPosition(String division, String team) {
    String p = (String)standings.get(division + '/' + team);
    return (p == null) ? "Team not found" : p;
  }
}


Mime
View raw message