jQuery in Action, 2nd edition*
The moose likes Struts and the fly likes [Struts2] link to the current page. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "[Struts2] link to the current page." Watch "[Struts2] link to the current page." New topic
Author

[Struts2] link to the current page.

khekhone yvan
Ranch Hand

Joined: May 08, 2011
Posts: 79
hi people

how can i do a action to forward to the current page.

I want to make a link to forward to hte current page but this link its on all my page.

I dont want to create for each page an action to forward to the current page.

How could you do this ?

tx.
Mohana Rao Sv
Ranch Hand

Joined: Aug 01, 2007
Posts: 485

I'm thought you are asking about redirectAction. Just set result type redirectAction.


ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
khekhone yvan
Ranch Hand

Joined: May 08, 2011
Posts: 79
for n pages

1pages.jsp->pagesaction->1pages.jsp
2pages.jsp->pagesaction->2pages.jsp
..
...
npages.jsp->pagesaction->npages.jsp

i want to do something like that

maybe the only way is to use method
that mean on my struts.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [Struts2] link to the current page.
 
Similar Threads
[URGENT]Problems with Struts and Tiles
html:link Submitting form
struts and javascript pop up window
Request url forwarding
How to use the ShowView Action?