Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to re use values getting from OGNL in jsp  RSS feed

 
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
Boost this thread!