Uwe Schäfer schrieb:
Martin Funk schrieb:
The Application you declare in the web.xml, so if you want your
MyApplication you do it there and no need to fiddle with the
getApplication() method.
sorry, i did not make myself clear. i do declare my application in the
web.xml. thats not what i am talking about. what i want here is
typesafety without sprinkling my code with typecasts, but have one
central cast in getApplication() of a base-page instead.
cu uwe
hmmm...
for that case I don't have an elegant reasoning either and looking at
the wide spread usage of Application.get() I wouldn't be suprised if
there isn't any.
carpe diem,
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]