You already described your mistake very clearly. You put the .class file in the wrong 
path. Right now they should be in the 
WEB-INF\classes\org\apache\jetspeed\modules\actions\portlets path. You also can define 
your own paths in the
webapp/WEB-INF/conf/TurbineResources.properties
There are entries there like this:

module.packages=org.apache.jetspeed.modules
module.packages=org.apache.turbine.modules

And you can define your own.


-----Original Message-----
From: Maruthi [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 11:55 AM
To: [EMAIL PROTECTED]
Subject: ***SPAM*** class not found Exception ..JSP portlet Action class


Hello,
 
I have problem with JSP Portlet Action class.I am getting class not found exception.I 
didn't defined custom package for my action class.I just placed .java and .class files 
in the .....portlets.JspPortlet directory.Below is my Registry fragment.
 
Thank you,
Maruthi.
 
Error:
java.lang.ClassNotFoundException: 
 
 Requested Action not found: portlets.RegistrationJSPAction
 Turbine looked in the following modules.packages path: 
 [org.apache.jetspeed.modules, org.apache.turbine.modules]
======================
.xreg file
======================
<portlet-entry name="RegistrationJSPAction" hidden="false" type="ref" parent="JSP" 
application="false">
        <meta-info>
            <title>RegistrationJSP-Ravuri</title>
            <description>Registration JSP Example</description>
        </meta-info>
        <classname>org.apache.jetspeed.portal.portlets.JspPortlet</classname>
        <parameter name="template" value="RegistrationJSPTemplate.jsp" hidden="true" 
cachedOnName="true" cachedOnValue="true"/>
        <parameter name="action" value="portlets.RegistrationJSPAction" hidden="true" 
cachedOnName="true" cachedOnValue="true"/>
        <media-type ref="html"/>
        <url cachedOnURL="true"/>
        <category group="Jetspeed">web services</category>
        <category group="Jetspeed">finance.stocks</category>
        <category group="Jetspeed">jsp</category>
    </portlet-entry>

======================

                
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to