Inside my ApplicationManager i want to get access to ServletConfig as I need to get the servlet's init param which contains path to my config files etc.
I have tried finding it inside org.mentawai.core.ApplicationManager but
didn't find anything...
Joined: 01/07/2005 09:59:17
Messages: 2846
Location: Rio de Janeiro, RJ
Offline
Ideally you should have all your static configuration inside your ApplicationManager.java.
But if you need to access the ServletConfig then you can use get method Controller.getConfig(). But I have just added this, so download the beta jar here: http://www.mentaframework.org/beta/mentawai.jar
You can also check out the project from svn and do a ant build to generate the mentawai.jar file.