Sounds interesting, would you mind to show a small example?Originally posted by Bear Bibeault:
In my own Front Controller implementation, I just need to equate a command verb with a class name that implements the command, so I just use a properties file.
Rashid Mayes
http://www.hostj2me.com/ - http://www.worlddeveloper.org/
Originally posted by Joel Hutters:
I read something about the context parameters, what about having it there, in the web.xml together with the controller it belongs to?
Sounds interesting, would you mind to show a small example?
Originally posted by Joel Hutters:
but how do you specify it as a param?
At last, where do you put your Property file? /etc in development structur and /WEB-INF in deployment?
new FileInputStream("/commands.xml");
Grow your own food... or this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|