Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Struts and the fly likes s:url value help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "s:url value help" Watch "s:url value help" New topic

s:url value help

Honzak Troubak
Ranch Hand

Joined: Jan 11, 2013
Posts: 31
Hello guys,

I need to use number from scriptlet in Struts code. I hope it could be possible via s:url value. Unfortunatly I need put number like item of list and I don't know how. In every tutorial which I found is used s:param name= which creates action?parameter=number. But I need put parameter (only number) to <s:url value="%{conferenceList[PARAMETER].title}" var="urlUpdate">.

Does anybody know how?
Joe Ess

Joined: Oct 29, 2001
Posts: 8836

Wouldn't it make more sense to use the iterator tag to iterate through the conferenceList?

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
wood burning stoves
subject: s:url value help
Similar Threads
How to get object from Valuestack and pass it to another action?
Display Tag horizontal scroll bar issues
how to set javascript varibale in <s:url><s:param> value attribute
Hide <s:param> from the URL
how to send rich text editor content using ajax