8 Replies Latest reply: Jul 15, 2012 9:54 PM by Minh Hoang TO RSS

caputure loginException message from custome login module

rakesh ramesan Newbie

how can i caputure loginexception message from my sample getin login module and display it in my login.jsp

bellow is my form action.

<form id="loginForm" name="loginform" method="post"

            action="<%= contextPath + "/login"%>">

 

i throw a login exception in my logi method

throw new LoginException("inside evaluation priod");

 

and i was hoping to obtain the same message in my login,jsp page