Re: How To Output the Value Of a Hidden Field?

2003-12-17 Thread Koni Roth
You cannot have two properties with the same name in a form. Try: html:hidden property=creator_1/ input type=text name=creator vlaue=bean:write name=beanName property=creator_1/ size=82 maxlength=25 tabindex=1/ cheers Koni Caroline Jen wrote: My JSP #2 receives a hidden field passed from JSP

RE: How To Output the Value Of a Hidden Field?

2003-12-17 Thread Robert Taylor
There are a couple (3) ways to do it. 1. Have both JSP#1 and 2 use the same form then have the action that processes JSP#1 simply forward to JSP#2 and Struts will auto-populate the field. 2. Have the action that processes JSP#1 forward or redirect to JSP#2 whose form has the same property

How To Output the Value Of a Hidden Field?

2003-12-16 Thread Caroline Jen
My JSP #2 receives a hidden field passed from JSP #1: html:hidden property=creator/ In the JSP #2, I have a text field: html:text property=creator size=82 maxlength=25 tabindex=1/ and I want the value of the hidden field to be the text in the text field of the JSP #2. Please advise how to do