| Author |
reading a properties file
|
Sapna Suri
Greenhorn
Joined: Feb 28, 2012
Posts: 2
|
|
Hi,
We have a requirement of reading a properties file ( which would be placed outside the .war ) and then populate the drop-down list.
Need some insight on how can we read the properties file in client code?
Any help is highly appreciated.
Thanks
Sapna
|
 |
Prabakar Kalivaradan
Greenhorn
Joined: Dec 12, 2011
Posts: 20
|
|
Client side java code is going to be translated into pure http/javascript code, so it cannot read property files. However, one can use GWT-RPC mechanism to let a servlet read a properties file and send it to client as HashMap/Hashtable object to client side.
|
-prabak
|
 |
Sapna Suri
Greenhorn
Joined: Feb 28, 2012
Posts: 2
|
|
Thanks Prabakar,
I have read it from servlet using the GWT-RPC mechanism.
|
 |
 |
|
|
subject: reading a properties file
|
|
|