Announcement Announcement Module
Collapse
No announcement yet.
access Bean from Validator class Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
Working...
X