planetsoni schrieb: > So here is the whole thing: > In the client code in GWT, I am referencing some URLs for different > server. I don't want to use string literals to reference these > links. I rather have a class that enclose each URL link. It is just > good programming practice.
Sure but something like java.net.URL doesn't exist with the current versions of GWT, so you have something to create for yourself or find workarounds (like the one I described). On the other side, it shouldn't be hard to extract the parsing part from the sources of java.net.URL (its GPLed now) and put it into an own class that is shared between server and client of your GWT-application. Regards, Lothar --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
