Hi,
I want to pass some parameters from a form into an action and am doing so via the following procedure, but with no joy. could you please tell where i am going wrong:?
1. form
<form action="userDetails" method="post">
<table>
<tr>
<td align="right">User:</td>
<td align="left"><input type="text" name="user" /></td>
</tr>
2. pipeline
<map:match pattern="testpage">
<map:act type="get-detail2">
<map:parameter name="user" value="{1}" />
3. Action
String userName = param.getParameter("user");
If I hardcode the value into the form then it works fine:
<map:parameter name="user" value="x1234" />
regards
Andrew
- Re: Pipeline parameters beyaNet Consultancy
- Re: Pipeline parameters Antonio Gallardo
