This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
The "Edit" link takes the user to the item edit page. Ideally, the Delete button would prompt the user "Do you want to delete Item 1?", the user would confirm that he does, and the list would be redisplayed without the deleted item. I can't think of a clean way to implement this functionality. I can display the Delete link thusly:
Ankit Garg wrote:
And this doesn't seem to be concerned with Struts to me...
Well, I came up with the following. In the JSP, I just reference a property ("escape=false" writes the property as-is, without escaping HTML characters):