Has anyone an idea why the following code will not work?

public void service(WebRequest webRequest, WebResponse webResponse) throws 
IOException {
                
                
                if (webRequest.getServerName().startsWith("en.")){
                        this._locale=new Locale("en","");                       
        
                }
                else {
                        this._locale=new Locale("de","");
                }
        
...




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to