aspose file tools*
The moose likes Struts and the fly likes Prob: Struts Tags inside wall tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Prob: Struts Tags inside wall tags" Watch "Prob: Struts Tags inside wall tags" New topic
Author

Prob: Struts Tags inside wall tags

Pradhip Prakash
Greenhorn

Joined: Oct 13, 2005
Posts: 3
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

Joined: Sep 29, 2008
Posts: 12617

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.
 
subject: Prob: Struts Tags inside wall tags