Re: creating CGI_Impersonator in Webmacro-Spring env
Sebastian Kanthak <[email protected]>
| Newsgroups | gmane.comp.java.webmacro.user |
|---|---|
| Message-ID | <[email protected]> |
Hai-Chen, Hai-Chen Tu wrote: > Without this problem, I think we can use a regular WM (i.e., not > initialized with a ServletBroker) as the base for WebMacro engine > in Spring. > And we can use WebContext inside WebMacroView for servlet > application and > regular Context for other usages (e.g., email templates). > right. We should come up with something to provide the handy WebMacro tools for people who want them to use and make it easy, to use WebMacro not only for the view layer, but also for other templating purposes. > Also, I think the main reasons for having > Servlet20Broker/Servlet22Broker are > to add few more places for locating property files, templates, and > other > resources and to use ServletContext.log(...) for logging purpose. > They probably > should be replaced by Spring-friendly ones, e.g., like the way > your have > implemented. yes, that's why I wrote a SpringBroker: to adapt to the Spring environment (that's what Broker's are for). Sebastian PS: Will be away until Tuesday ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl