Hi,
I am using JPF controllers. Already, i am loading a properties file in the controller(using annotations @Jpf.Controller(messageBundles = { @Jpf.MessageBundle(bundlePath = "validation.validator.Messages") },). I have a problem. Depending on one of the request variables, i need to load different properties files. All these property files have same keys, but with different messages. I need to take the user to different sites(though internally, the backend logic remains same...Look and feel of the front end along with messages to be shown change to make the users feel they are being directed to a different site).
I am thinking of loading the properties file from the
JSP when the user logs in first time from login page so that these properties are available until the session expires & not read the properties file in Controller. What is the best way to do it?