-
May 20th, 2005, 06:48 AM
#1
ServletConfig
Hi,
In a servlet, we can easily get the ServletConfig from the init() method.
I am trying to get the absolute path of the webapp.
Is there a way for me to get the ServletConfig in spring?
Regards,
james
-
May 20th, 2005, 12:58 PM
#2
You can always subclass DispatcherServlet, override init(), and do whatever you want to do. Just don't forget to call super.init().
--Jing Xue
-
May 21st, 2005, 03:19 AM
#3
Thanks for the suggestion, manifoldronin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules