I need to check a file, that exist or not through scheduler. If exists, then a custom login page must be set showing some message to user. if not, then login page set/reset to default.
I have created a java class(action) which checks for the existence for the file and returns true/false and a scheduler which triggers the action(java class).
now, I need help to set my custom login page if action returns true and reset to default if returns false.
or , Anybody knows how to change welcome-page(default login page) dynamically.