WebSphere Portal Server - Re: Navigating using hyperlinks inside a jsp/portlet?

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > April 2004 > Re: Navigating using hyperlinks inside a jsp/portlet?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Navigating using hyperlinks inside a jsp/portlet?
Paul Lee

2004-04-16, 10:41 am

Hi,
I've done a bit of experimenting and delving in the help files.
I've found two suggested methods of being able to navigate from jsp
to jsp within a portlet, but neither work - I don't get an error message
or anything: the portlet remains the same.

The first one is using:

<a href='<%=portletResponse.enclodeURL("Link.jsp")%>'>Click here</a>

and the second uses

<a href="<portlet:encodeURI path='Link.jsp'/>">Click here</a>

where Link.jsp is in the same directory in the WAR file as the original
(calling) index.jsp file.

Best wishes

Paul
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com