私はstruts2でプロジェクトを作成しています
私は以下のようにRegistration.jspページを作成しました。私は、JSPに結果をリダイレクトしようとしているとしようとしているときにアクションを呼び出した後Struts2プロパティの不明確
<s:form name="registration" action="Registration" >
<s:textfield name="user.userName" label="UserName"></s:textfield>
<s:textfield name="user.userName" label="Password"></s:textfield>
<s:textfield name="user.userName" label="Re-Enter Password"></s:textfield>
<s:textfield name="user.userName" label="Name"></s:textfield>
<s:textfield name="user.userName" label="DOB"/>
<s:textfield name="user.userName" label="email"></s:textfield>
<s:textfield name="user.userName" label="Portfolio Name"></s:textfield>
<s:submit></s:submit>
</s:form>
..
指定されたフィールドにa、b、c、d、eをそれぞれパラメータとして入力すると、
のように表示されるuserNameを表示します。
私はなぜこれが起こっているのですか..だれかがアイデアを持っていますか?
私はリストにこれらの値を保存しようとしていますが、多くの試行の後にsuccededしていません。 – Abhij
@Abhishekj:どのようにしてコードを表示できますか? –
ありがとうUmesh私はもう少し努力してやった。 – Abhij