This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Portals and Portlets and the fly likes Redirecting to a portlet on clicking a button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Redirecting to a portlet on clicking a button" Watch "Redirecting to a portlet on clicking a button" New topic
Author

Redirecting to a portlet on clicking a button

Gopikrishna Gopal
Greenhorn

Joined: Sep 08, 2011
Posts: 26
I want to redirect from one portlet to another. I know we can redirect in handlePostbackData method in portlet's backing file (on click of submit button for e.g)

But is there a way to redirect in forms action tag or onClick of a button? I tried this below technique but its not successful.



Preferrably I want to create a URL as follows,



And based on this url, I want to redirect in jsp's button control. Please let me know how this can be done.
 
rocket mass heater kickstarter
 
subject: Redirecting to a portlet on clicking a button