I need to get the mobile information like mobile model, manufacturer name on server side. How to get it from requesting URL? 

For example, User send the request from mobile browser to server for download the jar/jad file. On server side, I need to get the mobile model and manufacturer name and then send the response to mobile based on that mobile model and manufacturer name. How to get these information's(like model name n97 manufacturer name Nokia).