开发者

How do I find absolute URL of an action in Struts 2

Suppose I have two a开发者_StackOverflow社区ctions details and edit

I need to display in the view that corresponds to details action an link that points to edit action. The problem is that I need this link to be absolute. How can I find the URL of edit action?


Maybe the s:url tag and the s:a tag will help?

http://struts.apache.org/2.1.6/docs/url.html

http://struts.apache.org/2.1.6/docs/a.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜