Forums de discussion

portlet link to Jsp Page

ruchi dubey, modifié il y a 11 années.

portlet link to Jsp Page

New Member Publications: 9 Date d'inscription: 25/02/13 Publications récentes
Hi All
I am having a portlet on which I have a link. On clicking this link the corresponding page open in same window.
I did this like as..

view.jsp
<a href="<portlet:renderURL><portlet:param name=" jspPage" value="/registerportlet/view.jsp"></a> "&gt;Display Registration


However i am not getting should I have to write doView or doDispath method at my portlet java class. As on clicking on link I am getting this error

Internal Server Error
An error occurred while accessing the requested resource."url...."

Thanks
Ruchi
ruchi dubey, modifié il y a 11 années.

RE: portlet link to Jsp Page

New Member Publications: 9 Date d'inscription: 25/02/13 Publications récentes
oooppppssss....
I get to resolve myself as I post here my problem i clicked that may be my url was not correct
and there is no need to write any doView and doDispathc method...

emoticon
thumbnail
mohammad azaruddin, modifié il y a 11 années.

RE: portlet link to Jsp Page

Expert Publications: 492 Date d'inscription: 17/09/12 Publications récentes
Hi
yes you are right
And doView method is called each time when u render.Also u can override doView method if Required

Ragrads
azhar
thumbnail
Bhagyashree Shinde, modifié il y a 8 années.

RE: portlet link to Jsp Page

New Member Publications: 2 Date d'inscription: 26/08/14 Publications récentes
Hey Ruchi, You even solved my problem.

Thank youemoticon