File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Prob: Struts Tags inside wall tags

Pradhip Prakash

Joined: Oct 13, 2005
Posts: 3

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,


David Newton

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.
I agree. Here's the link:
subject: Prob: Struts Tags inside wall tags
It's not a secret anymore!