Phone browser : User-agent header is set by the phone browser while making a request. This user agent header gives complete information about phone like profile,configuration ,phone model etc. Therefore at the server side, content modification can easily be done based on phone model.

Java Application: In case of java application, we set the User-Agent string by ourself within the application.

My question : Is there any way to get the string which is set by phone browser for User-Agent such that the same string can be setted from the application.
If not then what are the system properties which describes about the phone capabilities and run on all the phone.
e.g - microedition.platform - Tells about the phone model and software version etc. But on some phones it just return "J2me". Theerfore it wont solve the purpose.

I hope i am able to explain my query. Please do ping me if there is any problem in understanding the question.