Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-24-2007, 02:03 AM
Senior Member
 
Join Date: Jun 2007
Posts: 130
Rep Power: 0
Jack is on a distinguished road
Default 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


Code:
<a href="UserAction.do?action=Deleteuser&id=id" class="Style1">Delete User</a><br />
obviously it doesn't work, what is the problem?
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 07-02-2007, 03:07 AM
bbq bbq is offline
Senior Member
 
Join Date: Jun 2007
Posts: 134
Rep Power: 0
bbq is on a distinguished road
Default
You can use the "links" to execute actions

Code:
<html:link action="changepermission.do?method=change" paramId="id"
 paramName="table" paramProperty="id2">
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 07-02-2007, 03:13 AM
Ed Ed is offline
Senior Member
 
Join Date: Jun 2007
Posts: 110
Rep Power: 0
Ed is on a distinguished road
Default
You have to do this:
Code:
<href="/userAction.do?action=Deleteuser&id=1">
the code is right, please send us the error
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 01-07-2008, 12:52 PM
Member
 
Join Date: Jan 2008
Posts: 1
Rep Power: 0
sreekumarkartha is on a distinguished road
Default
hello. Thanks. I was looking the same, and I got it.
<c:forEach var="result" items="${requestlist}">
<tr>
<td><cut value="${result.id}"/></td>
<td><li><html:link action="/approvedetail.do?" paramId="requesttag" paramName="result" paramProperty="requesttag"><cut value="${result.requesttag}"/></html:link></li></td>
</td></tr></c:forEach>
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 04-17-2009, 01:44 AM
Member
 
Join Date: Apr 2009
Posts: 3
Rep Power: 0
mernenuissurl is on a distinguished road
Default you can regain your potency.
If You maybe are very tired of searching in thousands of profiles you can easily click on the site Join Adult Friend Finder and will be happy to detect Your excellent match among over 30 million profiles. You will see that our suggestions include the persons having the best features You are looking for. This site is accessible by wide audience by means of registering at the amount of only 19USD for starting up. Please be aware that You are appreciated and much wanted here!
Be a participant right now and see more members for adults’ appointments. And not only appointments – also available mutual understanding.
You should always remember that Adult Finder is always true. You have the right for selection of browsing the site by the enclosed cretaria attached to it.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
action class jayagowri Web Frameworks 1 05-07-2008 04:23 PM
Using bean to send parameters from one Servlet to another Java Tip Java Tips 0 01-27-2008 09:17 PM
Run RCP action from outside of the Eclipse RCP leonbandas Eclipse 1 01-07-2008 08:15 AM
jsp:param action Java Tip Java Tips 0 12-24-2007 11:03 AM
problems when I try to send parameters christina Java Applets 1 08-03-2007 07:41 PM


All times are GMT +2. The time now is 11:11 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org