I have a 2 fields in jsp page (text:- where user will enter something , and a menu from which it will select) and a link (click) below it. These are not in a <html:form>. Is there any way when i click on link, values entered by the user in 2 fields should go to respective ActionForm classs where i can set the values and can further use in ActionClass.
Hi Since your fields are not there inside the <html:form> i dont think you will be able to get those in the respective action class using ActionForm. If you want to get these values without keeping these fields inside <html:form> tag, have hidden fields for the same and get the values in the action class and set to the form object if there are properties to hold the values. If you do this you can get these values in your next page using the form bean.