Hi All,
I am using Stripes for a simple web application. I am facing following problems:
(1) First of all I have defined following entry in web.xml
<filter>
<display-name>Stripes Filter</display-name>
<filter-name>StripesFilter</filter-name>
<filter-class>net.sourceforge.stripes.controller.StripesFilter</filter-class>
<init-param>
<param-name>ActionResolver.Packages</param-name>
<param-value>com.learninginnovations.biz</param-value>
</init-param>
<init-param>
<param-name>ActionBeanContext.Class</param-name>
<param-value>com.learninginnovations.biz.ApplicationActionBeanContext</param-value>
</init-param>
</filter> All of my action beans are in com.learninginnovations.biz package. But at the time of deployment its not loading the action classes.
(2) Second thing is in my
jsp I have defined like this
<stripes:form beanclass="com.learninginnovations.biz.StudentLoginActionBean" focus=""> and when I saw the source in HTML its generating
<form action="/Final-Project/com/learninginnovations/biz/StudentLogin.action;jsessionid=6A84661EF18ABE860CCD3FAB7E50786E" method="post"> Where Final-Project is the name of application. This is not what it should generate according to the Stripes documentation. I don't know where I am doing a mistake.
Please let me know what should I do to recover these errors. Thanks in advance!!