Hi all, I am using Struts Framework. I have 2 JSPs "Page1.jsp" & "Page2.jsp". On submitting Page1.jsp, i am getting the data from the database into <html:text> controls in Page2.jsp.
For instance, I have 2 fields NAME & ADDRESS in Page2.jsp. Value for NAME is obtained from database & ADDRESS is empty. I would like to perform the following: If NAME is not null then NAME should be disabled & ADDRESS should get the focus. If NAME is null then NAME should be enabled.
How can i do this ??? I am using Struts Validator for validations. Thnks in advance.... [ April 18, 2006: Message edited by: Shailesh Pillai ]