• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

in Liferay, i need send redirect to some page after login

 
amit taneja
Ranch Hand
Posts: 813
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I Just wanted to change the home page only when the person come from clicking particular link...
for eg. i.e link emailed as "newsletter of our co."
if we send email to everybody in office giving link to newsletter published on portal, then when clciking the link ... obviously first username and password will be asked (by the portal application)
but after that, i want that after loggin in .they must be redirected directly to that newsletter ..
so my question is where to put ie on which page to put the following jsp script..

<% response.sendRedirect("http://www.yahoo.com"); %>


Kindly reply asap
Regards
Amit
[ January 05, 2007: Message edited by: amit taneja ]
 
amit taneja
Ranch Hand
Posts: 813
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am able to find out that LoginAction redirects to /portal/touch_protected.jsp which is the page that shows the javascript showing the moving bar( like windows xp) before it opens the actual portlet..

but i am not able to figure it out that where the code is written from where it get trasnfered to the homepage of the portal ? like from moving bar javascript page to HomePage of liferay after user logged in ?

kindly reply anybody
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic