• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to delete rows in the backend based on value displayed in the front end in struts2

 
Jyothsna Panchagnula
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have a question here.

I am displaying records in JSP using iterator tag.
now I have a hidden field to get the id of the record.
But the information I am displaying is join more than 2 tables.

my question if I every record displayed in JSP is associated with modify and delete buttons , then
how do I get the information of the whole record so that the record is deleted from the referenced table in the database?

Can any one please help me out;
Thanks,
Jyothsna
 
Jyothsna Panchagnula
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its Urgent!!!

can any one post some response?


-Jyothsna
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You waited 50 minutes before posting a followup? Come on, be serious.

Read the EaseUp FAQ entry.

You're not even asking a Struts question--you're asking a DB question. We also don't know how you're accessing your DB, so it's impossible to answer.

Ask in a DB forum.
 
vishwa venkat
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you try passing the id of the record in modify/delete links.
 
Jyothsna Panchagnula
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Visu,

I got it .I passed the values using param in <s:url> tag.



Thanks
Jyothsna
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic