Thanks Alexandre for the reply ....
But there is one problem the PortletAction class is available in portal-impl.jar. While developing a portlet in plugin ideally you should use portal-kernel.jar and portal-service.jar ONLY and not the implementation classes in portal-impl.jar. If you use those classes, it makes your portlet Liferay dependent.
So I found these two classes that you can use in your action class.
Action class has execute method and StrutsPortlet class has all the methods like doView(), doEdit() etc which are required for any portlet. So do you have any idea on this

Thanks and Regards,
Rahul Pande
Please sign in to flag this as inappropriate.