wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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.
 
 
subject: Redirecting to a portlet on clicking a button
 
Similar Threads
[solved] struts 2 mapping for .action
Portlet redirect
Redirecting or Forwarding to another Portlet with Params
ActionResponse.sendRedirect to parent frame outside of iFrame
Redirecting Servlet