I'm not sure if I understand you, do you want to create dynamically
new files (property or any other) inside a deployed war?

It's impossible, you don't know how the server manage the WAR files
(usually it decompresses it in a temporal folder), you'll need to
access to the deploy directory (using the deploy user&password),
you'll need to connect to the server (ej: weblogic) to force a
redeploy in all the cluster nodes (with the administration
user&password), ...

You can store the data in a database, you can configure a working
directory from the filesystem (with write permission for the user that
startup the app server) for your application and to store the files
inside, ...


On May 20, 8:49 am, Bhavik <[email protected]> wrote:
> I am using GWT 1.6.4, with OS WinXP, Browser : IE6, IE7, FF
>
> I want to create dynamic properties file as per user requirement.
>
> On server side, I am creating a properties file in the Folder - "....
> \war\WEB-INF\classes\com\abcProject\client\abc.properties"
>
> I have made entries in abc.GWT.xml file for languages.
>
> I am faced a problem when I created a property file in hosted mode, it
> created. Then i compile/browse and created a file in Browser it
> created. But when I change to that specific language, only language
> worked which i created it in hosted mode and I did compile/browse. and
> not while in web browser.
>
> I too tested it in Tomcat by deploying GWT application. and created a
> new language property file. I restarted the tomcat server. but there
> was no result of the new properties file. Only the properties file
> which was compiled/browse before was running.
>
> In short when GWT creates a new war file to deploy at server. And it
> should allow people directly add property file of different language
> or can change value in properties file and THAT SHOULD REFLECT ON THE
> SCREEN WHILE RUNING THE APPLICATION.
>
> One condition you can make is that no new keys can be added. but
> atleast one can change value for different languages and can add new
> properties files for different language and THERE SHOULD NOT BE ANY
> NEED TO COMPILE AND BROWSE THE WHOLE APPLICATION AGAIN. THIS IS WORST
> PRACTICE.
>
> Thanking you. I hope u understood the problem.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to