Hi,
I made a form and i need to have a message box that inform the user if one or more field are empty.
I tried with the following:
<%<br /> if (".....one field is null.....")<br /> {<br /> this.showMessageDialog(null,"You need to enter a value...");<br /> }<br /> else<br /> { <br /> %>
<%@ include file="Response.jsp" %>
<%<br /> }<br /> %>
But it does'nt work. Do i have to insert the showMessageDialog inside my bean with the parent.showMesageDialog()?
I know that i can do it with javascript but i prefer java.
Is it possible??
Thank you very much
Jeff
I made a form and i need to have a message box that inform the user if one or more field are empty.
I tried with the following:
<%<br /> if (".....one field is null.....")<br /> {<br /> this.showMessageDialog(null,"You need to enter a value...");<br /> }<br /> else<br /> { <br /> %>
<%@ include file="Response.jsp" %>
<%<br /> }<br /> %>
But it does'nt work. Do i have to insert the showMessageDialog inside my bean with the parent.showMesageDialog()?
I know that i can do it with javascript but i prefer java.
Is it possible??
Thank you very much
Jeff