<html:link problem in struts>
Hi guys
Now I am creating a jsp page, form page and action class.
What i am facing the problem,
<html:text property="Address" />
<html:link action="/JspPages/info">
<bean:message key="Change"/></html:link>
When i click this link action i want to get that text box value.
Will you please tell me how to get that text box value when i click <html:link tag.
Please anyone help me.
Awaiting for your reply eagerly
Regards
Pooja>
# 2
Hi Shanu
I am creating Everything Properly.
Struts-config.xml
<action
name="InfoForm"
path="/JspPages/Info"
type="com.SysAction"
scope="session"
validate="false" >
<forward name="success" path="/JspPages/settRec.jsp"/>
</action>
And I am creating form and Action class everything i am creating properly.
When i click link action at that time i will get a textbox value. Pls this is urgent.
Note : Before I was creating <html:submit> button all the data's populated properly.
Regards
Pooja
# 4
Excuse me Shanu
Struts-config.xml
<action
name="InfoForm"
path="/JspPages/Info"
type="com.action.InfoAction"
scope="session"
validate="false" >
<forward name="success"
path="/JspPages/setRec.jsp"/>
</action>
My Jsp Page
<html:form action="/JspPages/Info">
<html:text property="changeAddress"/>
<html:link action="javascript:document.InfoForm.submit()">
<bean:message key="ILMSysChange"/>
</html:link>
Please tell me, When i click this link button i want to get the text box value and it will come same jsp page.
Note : I am not creating the <html:form name like
><html:form action="/JspPages/Info" name = "setOne"> //Error Shows.
Please i was confused
Anyone help me pls
Regards
Pooja
# 5
areee bosss..........
<html:form action="/JspPages/Info">
<html:text property="changeAddress"/>
<html:link action="javascript:document.InfoForm.submit()">
<bean:message key="ILMSysChange"/>
</html:link>
use this jsp and let me know what error are u getting when clicking the link?