Can I dynamically read the router attachments from a properties
file or an xml?

Key:/xxx/xxx
Value: XXXResource.class

The problem I am facing is:

1. In the application class If I have a createRoot method the
   flow takes me there directly. Now if i abstract the router
   attach key and value in a properties file or an xml, the 
   problem is I dont have a key to search my properties file.
   Its because I dont have handle to request in the createroot
   method and hence cant know the actual URL by doing 
   request.getURL().So cannot pass the key to an external system
   which will send me back the resource class.

2. If I override handle method in Application class then my
   createRoot never gets called.

Anyone with a solution?

Reply via email to