This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to re use values getting from OGNL in jsp

 
varaprasad mutyala
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,

i am using Struts 2,

in my jsp i am showing all Users details of my application with edit option like below.

user name role address "edit"(button)
. . . . .
. . . . .
. . . . .
. . . . .



so all above values i am getting through a list using OGNL. i am using <s:property> to display them.

but when i clicks on edit button it should go to some controller class with user id .

how can get this user id in jsp to re use as part of url to send request for Editing.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Include the ID in the link or as a form parameter?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic