PDA

View Full Version : What is the equivalence of web.config in GXT?



phamtranquocviet
1 Jun 2009, 8:02 AM
Hi,

In C#, there is a file called web.config where you store things like password to db, domain name, etc.... so that one can modify this file and resuse the application for another domain, for example. What is the equivalent way of doing this in GXT?

moldoe
1 Jun 2009, 2:04 PM
GWT and ASP.NET are two very different technologies.
And GXT is a GUI framework which relies on GWT.

web.config in .NET is like a web application descriptor and has nothing to do with what GUI library you use for your web pages.
In Java if you use web containers like Tomcat or Jetty, web.xml file would be similar to web.config. Yet, custom configurations for your own GUI you should keep them separate into custom configuration files.