Hi people
i have a problem
i want to create a formcontroller but i want to put annotation @Mask but eclipse not find this recognize this annotation.
my config is Spring mvcweb 3.0.0
i use a spring template spring mvc
i dont know where is the problem maybe i have to upgrade my Spring MVC3.jar
my controller
:Code:import org.springframework.beans.factory.annotation.Autowired; import org.springframework.format.annotation.NumberFormat; import org.springframework.stereotype.Controller; import org.springframework.web.bind.support.SessionStatus; import com.sun.istack.internal.NotNull; import validator.PersonneFormValidator; import dao.impl.PersonneDao; @Controller public class IdentificationController { @Autowired private PersonneDao personneDao; @Autowired private PersonneFormValidator validator; @NotNull @NumberFormat(pattern="[0-9]+") String id; @NotNull // @Mask("(\\w)*(_-)*(\\w)+@(\\w)+.(\\w)+") @Mask(pattern="dsdfsd") String password; }


Reply With Quote
