Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Its about uniqueIDs again! This is starting to get to me.

 
Ian Strain
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok I created a game. When a user goes to the wap site to download the game I have created a servlet that generates a uniqueID and then creates a java file with the uniqueID in it..
public final class GameProperties {
public final static long userID = " + userID + "L;\n" +
"\tpublic final static int gameID = " + gameID + ";\n" +
"\n\tpublic long getUserID(){\n" +
"\t\treturn userID;\n" +
"}" +
"}";
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic