This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes In the list,delete a paricular record. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "In the list,delete a paricular record." Watch "In the list,delete a paricular record." New topic
Author

In the list,delete a paricular record.

Devi Ramadass
Greenhorn

Joined: Sep 20, 2008
Posts: 17
Hi,
I am using struts2(using ActionSupport class),In the employee list i want to delete a particular record.For that how can I get the id inside DAO Class.

Note:
I am using param tag to pass id value.
<s:url id="delete" action="delete">
<s aram name="employee.EMPID" value="id"/>
</s:url>

Regards
Devi Ramadass
Devi Ramadass
Greenhorn

Joined: Sep 20, 2008
Posts: 17
Any inputs ....

Regards
Devi Ramadass
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: In the list,delete a paricular record.
 
Similar Threads
passing values from struts2 form to javascript
Passing parameter to action method
In struts2 delete is not Working
Nested Form problem with IE. How to avoid using struts?
Deleting Record in a Web Application.