Ok.maybe u forget to declare ur class.
public class CalculationAction extends ActionBean {
@DefaultHandler
public Resolution addition() {
System.out.println("Testing is doing");
result = getNumberOne() + getNumberTwo();
System.out.println("Result is doing");
return new ForwardResolution("index.jsp");
}
}
On Fri, Jun 5, 2009 at 3:57 PM, jitendra <[email protected]> wrote:
> Hi Team,
>
> I am new to Stripes. I have start with quick guide program. I am trying to
> make
> my own jsp for Stripes.
>
> I created my class in below way package:
>
> com.legalleads.stripes.ui.CalculatorActionBean
>
> @DefaultHandler
> public Resolution addition() {
> System.out.println("Testing is doing");
> result = getNumberOne() + getNumberTwo();
> System.out.println("Result is doing");
> return new ForwardResolution("index.jsp");
> }
>
> Web.xml
>
> <init-param>
> <param-name>ActionResolver.Packages</param-name>
> <param-value>com.legalleads.stripes.ui</param-value>
> </init-param>
>
>
> Stripes.jsp
>
> <stripes:form action="/ui/Calculator.action" focus="">
>
> But it gives me error
>
> http://localhost:8080/ui/Calculator.action
> The requested resource (/ui/Calculator.action) is not available.
>
> I think it is path issue.I am rendering in this issue since 3 to 4 days..
>
> Can somebody help me out?
>
> Thanks in advance
> Jitendra
>
>
>
>
>
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users