Hi all,
Sorry to bug you with this newbie questions, but hey.. we all gonna learn some time ;o)
I'm building a sample application to teach myself struts / EJB. I'm working with JBoss
and have installed the CD example EJB.
As I'm developping the struts frontend war I bump into 2 problems (sofar)
1) on loading my jsp file i get the following:
javax.servlet.ServletException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
I've got the following in my web.xml:
<servlet-name>action</servlet-name>
<servlet-class>nl.kern.j2ee.sample.struts.ListCDAction</servlet-class>
<init-param>
<param-name>application</param-name>
<param-value>nl.kern.j2ee.sample.struts.ApplicationResources</param-value>
</init-param>
and my ApplicationResources.properties is in:
WEB-INF/classes/nl/kern/j2ee/sample/struts/ApplicationResources.properties
whats wrong here?
2) on deployement I get the following:
[ERROR,EmbeddedCatalinaServiceSX] StandardContext[/cdexample]: Servlet /cdexample
threw load() exception
javax.servlet.ServletException: Class nl.kern.j2ee.sample.struts.ListCDAction is not a
Servlet
While my ListCDAction extend Action and has the same imports as the struts examples
RegistrationAction.java has. It also has a perform method.
anyone who could help me out here?
grtz
Wim Fournier
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>