留言板
BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
manasa chandri,修改在13 年前。
BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
Regular Member 帖子: 152 加入日期: 10/9/28 最近的帖子
Hi All,
I have created struts -action-hook-plugin from below url
http://www.liferay.com/web/mika.koivisto/blog/-/blogs/overriding-and-adding-struts-actions-from-hook-plugins
But i am getting the build failed.
BaseStrutsAction and BaseStrutsPortletAction classes are not comming.(error: cannot find the symbol)
error: I have attached the error page
Can anybody know the solution to this problem, please help me as soon as possible
Thank you in advance
Thanks & Regards,
Manasa.chandri,
Tema Business Systems.
I have created struts -action-hook-plugin from below url
http://www.liferay.com/web/mika.koivisto/blog/-/blogs/overriding-and-adding-struts-actions-from-hook-plugins
But i am getting the build failed.
BaseStrutsAction and BaseStrutsPortletAction classes are not comming.(error: cannot find the symbol)
error: I have attached the error page
Can anybody know the solution to this problem, please help me as soon as possible
Thank you in advance
Thanks & Regards,
Manasa.chandri,
Tema Business Systems.
Prakash Khanchandani,修改在13 年前。
RE: BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
Expert 帖子: 329 加入日期: 11/2/10 最近的帖子
Hi Manassa,
The first line of the blogs says:
These versions are not released yet, So for any version below this the hook will not work
.
Regards,
Prakash
The first line of the blogs says:
This is a new cool feature I worked on with Brian and it’s coming on 6.1 as well as 6.0 EE SP2 and 5.2 EE SP6. With this feature you can add new struts actions to portal from a hook plugin and you can override any existing action with it.
These versions are not released yet, So for any version below this the hook will not work

Regards,
Prakash
manasa chandri,修改在13 年前。
RE: BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
Regular Member 帖子: 152 加入日期: 10/9/28 最近的帖子
Hi Prakash Khanchandani,
Thank you for giving reply to me
I am using 6.0.5 version.
I have to create the plugin portlet which extends the StrutsPortlet(com.liferay.portlet.StrutsPortlet)
It sholud be contains ActionRequest and ActionResponse
Any suggestion for the extending strutsPortlet(plug-in portlet)
Thnak you in advance
Thanks & Regards
Manasa.chandri
Tema Business Systems
Thank you for giving reply to me
I am using 6.0.5 version.
I have to create the plugin portlet which extends the StrutsPortlet(com.liferay.portlet.StrutsPortlet)
It sholud be contains ActionRequest and ActionResponse
Any suggestion for the extending strutsPortlet(plug-in portlet)
Thnak you in advance
Thanks & Regards
Manasa.chandri
Tema Business Systems
Prakash Khanchandani,修改在13 年前。
RE: BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
Expert 帖子: 329 加入日期: 11/2/10 最近的帖子
Hi Manassa,
If I understand your question properly, you need to build a plugin-portlet (hot deployable) and your Portlet class should extend StrutsPortlet.
My understanding is you cannot create a plugin-portlet by extending a StrutsPortlet, you can extend the following for a plugin-portlet and they are I suppose more than enough for any task a StrutsPortlet can perform:
1) GenericPortlet
2) MVCPortlet (liferay specific)
3) SpringMCVPortlet
Still if you want to, then I would suggest look in the liferay repository for a sample struts portlet - if there is one
.
Hope this helps.
Regards,
Prakash
If I understand your question properly, you need to build a plugin-portlet (hot deployable) and your Portlet class should extend StrutsPortlet.
My understanding is you cannot create a plugin-portlet by extending a StrutsPortlet, you can extend the following for a plugin-portlet and they are I suppose more than enough for any task a StrutsPortlet can perform:
1) GenericPortlet
2) MVCPortlet (liferay specific)
3) SpringMCVPortlet
Still if you want to, then I would suggest look in the liferay repository for a sample struts portlet - if there is one

Hope this helps.
Regards,
Prakash
Prakash Khanchandani,修改在13 年前。
RE: BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
Expert 帖子: 329 加入日期: 11/2/10 最近的帖子
A comment by JorgeFerrer on this link http://www.liferay.com/community/wiki/-/wiki/Main/Struts+Action+Portlet+in+Plugin+SDK:
Hope this clears things a little regarding struts-plugin-portlet
For reference, though, note that it's not recommended by Liferay to use its StrutsPortlet bridge in plugins. We recommend using a custom framework for simple portlets or one of the modern frameworks with portlet support for more advanced portlets such as JSF (for example with IceFaces), Struts 2 or Spring MVC.
Hope this clears things a little regarding struts-plugin-portlet
manasa chandri,修改在13 年前。
RE: BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
Regular Member 帖子: 152 加入日期: 10/9/28 最近的帖子
HI Prakash Khanchandani
Thank you for giving reply
I have tried already (struts portlet)
But, i got the classNotFoundException
I am attached my error message to this post
Can you Please give any suggestion
Thank you inn advance.
Thanks & Regards,
Manasa.chandri,
Tema Business Systems
Thank you for giving reply
I have tried already (struts portlet)
But, i got the classNotFoundException
I am attached my error message to this post
Can you Please give any suggestion
Thank you inn advance.
Thanks & Regards,
Manasa.chandri,
Tema Business Systems
Daniel Wilmes,修改在13 年前。
RE: BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
Regular Member 帖子: 164 加入日期: 11/5/23 最近的帖子
\tomcat-6.0.29\webapps\ROOT\WEB-INF\lib
You may need to add some jar files to your class path. Try the struts.jar and you probably will need to add others as well.
You may need to add some jar files to your class path. Try the struts.jar and you probably will need to add others as well.
manasa chandri,修改在13 年前。
RE: BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
Regular Member 帖子: 152 加入日期: 10/9/28 最近的帖子
Hi Daniel Wilmes,
Thank you for giveing reply to me.
I added all jar's in my classpath, still getting same exception..
Thank you in advance
Thanks & Regards,
Manasa.chandri,
Tema Business Systems.
Thank you for giveing reply to me.
I added all jar's in my classpath, still getting same exception..
Thank you in advance
Thanks & Regards,
Manasa.chandri,
Tema Business Systems.
manasa chandri,修改在13 年前。
RE: BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
Regular Member 帖子: 152 加入日期: 10/9/28 最近的帖子
Hi Prakash Khanchandani,
Thank you for giving reply to me.
Extending
1)GenericPortlet
2) MVCPortlet (liferay specific)
3) SpringMCVPortlet
I have implemented by extending above portlets.
Thanks & Regards,
Manasa.chandri,
Tema Business Systems.
Thank you for giving reply to me.
Extending
1)GenericPortlet
2) MVCPortlet (liferay specific)
3) SpringMCVPortlet
I have implemented by extending above portlets.
Thanks & Regards,
Manasa.chandri,
Tema Business Systems.
Prakash Khanchandani,修改在13 年前。
RE: BaseStrutsAction and BaseStrutsPortletAction Can not fild a symbol
Expert 帖子: 329 加入日期: 11/2/10 最近的帖子
Welcome 
I am glad it worked for you

I am glad it worked for you
