There's no special annotation needed to do this. The absolute simplest way
would be to populate some data in your event method that forwards to your
JSP.
private Date date;
// getters and setters
public Resolution display() {
date = new Date();
return new ForwardResolution("somepage.jsp");
}
and in the JSP
${actionBean.date}
You can get fancier with it if need be. But we might need a few more
details before getting into that.
Gregg
On Thu, Sep 4, 2008 at 3:45 PM, Stripes-payal <[EMAIL PROTECTED]> wrote:
>
> i have a page in which --when the page comes for the first time i need to
> show result based on current date(todays date) ,So what method or
> annotation
> should be used for this??Also next time when user enter some date in the
> date field which is there on jsp page result should come according to that
> date.
> So How can be this done using stripes???
> --
> View this message in context:
> http://www.nabble.com/showing-data-when-page-comes-for-first-time-tp19319592p19319592.html
> Sent from the stripes-users mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users