How would I inject a property of HttpServletRequest (remoteHost) into an
application-scoped object?

 

Pre-Tapestry I would create this object in an initialization servlet
(i.e. loaded on startup and not mapped to any URL), which would, of
course, have access to the request-object.

 

I'm not sure what the Tapestry 4.0 equivalent would be, though.  In my
Tapestry 3.0 app, I did all that initialization in my own child-class of
BaseEngine, but that didn't include initializing ASOs, and I haven't yet
found how to do so programmatically if I were to take this approach in
Tapestry 4.0.

Any help would be greatly appreciated; thanks!

Jim 

 

Reply via email to