hi,
i have a form with a text field "userid" and a button "submit".
when i click submit it will go to a actionform and to a
jsp,where i want
to display the value using
struts tags. But i am not able to display.
my strtus-config.xml
<form-bean
name="myFormBean"
type="a.b.UserBean" />
<action path="/executeMyForm" name="myFormBean"
forward="/succ.jsp"/>
my suc.jsp:
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/tags/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tags/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tags/struts-logic.tld" prefix="logic" %>
<html:html>
<bean:message key="user.name"/>
<bean
efine id="myform" name="myFormBean" type="a.b.UserBean"/>
<bean:write name="myform" property="userId" />
</html:html>
I am getting me the value of bean:message only not the value of form value.
If i am wrong please let me know how to dispply the form text value using
struts tags.
Thanks in Advance,
Raj.