-
Dec 16th, 2008, 04:11 AM
#1
access Bean from Validator class
Hello to all,
is it possible to access a Bean from validation method of a validator Class?
I usually use ApplicationContext ctx = WebApplicationContextUtils.getRequiredWebApplicati onContext(request.getSession().getServletContext() );
and then
UserDAOImpl udao = (UserDAOImpl) ctx.getBean("UserDAO");
but in Validator i dont have request object.
Thank you in advance.
Alexandros
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