Results 1 to 4 of 4
- 06-24-2007, 01:03 AM #1
Senior Member
- Join Date
- Jun 2007
- Posts
- 130
- Rep Power
- 0
send parameters from jsp to action
I want to send the parameters from a jsp to an action, I did it through the "submit" but now I want to do it through a link, but I don't know how can I do that
For example to do it, I think that is something like that
obviously it doesn't work, what is the problem?Java Code:<a href="UserAction.do?action=Deleteuser&id=id" class="Style1">Delete User</a><br />
- 07-02-2007, 02:07 AM #2
Senior Member
- Join Date
- Jun 2007
- Posts
- 132
- Rep Power
- 0
You can use the "links" to execute actions
Java Code:<html:link action="changepermission.do?method=change" paramId="id" paramName="table" paramProperty="id2">
- 07-02-2007, 02:13 AM #3
Senior Member
- Join Date
- Jun 2007
- Posts
- 110
- Rep Power
- 0
You have to do this:
the code is right, please send us the errorJava Code:<href="/userAction.do?action=Deleteuser&id=1">
- 01-07-2008, 11:52 AM #4
Member
- Join Date
- Jan 2008
- Posts
- 1
- Rep Power
- 0
hello. Thanks. I was looking the same, and I got it.
<c:forEach var="result" items="${requestlist}">
<tr>
<td><c:out value="${result.id}"/></td>
<td><li><html:link action="/approvedetail.do?" paramId="requesttag" paramName="result" paramProperty="requesttag"><c:out value="${result.requesttag}"/></html:link></li></td>
</td></tr></c:forEach>
Similar Threads
-
action class
By jayagowri in forum Web FrameworksReplies: 1Last Post: 05-07-2008, 03:23 PM -
Using bean to send parameters from one Servlet to another
By Java Tip in forum Java TipReplies: 0Last Post: 01-27-2008, 08:17 PM -
Run RCP action from outside of the Eclipse RCP
By leonbandas in forum EclipseReplies: 1Last Post: 01-07-2008, 07:15 AM -
jsp:param action
By Java Tip in forum Java TipReplies: 0Last Post: 12-24-2007, 10:03 AM -
problems when I try to send parameters
By christina in forum Java AppletsReplies: 1Last Post: 08-03-2007, 06:41 PM


LinkBack URL
About LinkBacks

Bookmarks