Originally posted by sumanta panda:
when user input userid and password then it will go to server class.....else same server side error will diplay in the jsp page.
Originally posted by sumanta panda:
Hi Sudipt,
Ben is right to explain my doubt.
If the validation fails, bind an error message to request scope and forward back to the JSP with the form on it.
In that JSP, have an EL expression that writes the message to the page if it isn't empty.
But
I dont have any idea about EL expression.
<%=request.getAttribute("error_message")%>
Originally posted by sumanta panda:
if(request.getAttribute("errorMessage") != null)
{
<%=request.getAttribute("errorMessage")%>
}
Originally posted by sumanta panda:
Dear Sir,
According to your advice i try it.But its not working.Could you please tell me for express language should we include any thing or set up anything in the tool.
Consider Paul's rocket mass heater. |