This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts 2 s:url and s:param tag question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 s:url and s:param tag question" Watch "Struts 2 s:url and s:param tag question" New topic
Author

Struts 2 s:url and s:param tag question

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Guys,

I have a jsp page in which I get a parameter from the request. I have a href on this page rendered using the s:url and s:a tags. I need to simply pass the request parameter that I get from the request on this page to the s:url. Any suggestions on this? Below is what I have:



SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

I tried using the model class but without any luck.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 2 s:url and s:param tag question
 
Similar Threads
Struts 2 i18n problem
strukts 2 post parameter
Pass parameters to Model from anchor tag
Url does not have the querystring on using the <s: tags in struts2
Struts2: s:param not adding parameters to s:url