This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Prob: Struts Tags inside wall tags

 
Pradhip Prakash
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using struts (url) tag inside wall tag (wurfl, wap tags).

<wall:a href="<s:url action='callAction'></s:url>\"> Click Here</wall:a>

This is working if i use normal html tags, but not for wall tags, if i run the app, and press the link 'Click Here', <s:url action="callAction"></s:url> in the browser address, rather it should be forwarded to specified action..

I have tried probabilities of single and double quotes, but in vain.

Can anyone please help me in this prob.

If you need more info, kindly reply in the forum.

Thanks and Regards,

Prad





 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't nest custom tags like that; that's not valid JSP. Set the URL to a variable and use the JSP EL.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic