This hasn't really changed since 1.4.x as far as I know.  We've never  
instantiated the action bean on the JSP if it wasn't there.  There  
are a number of ways to get around this:

1) use a s:useActionBean tag on the JSP
2) have your index.jsp just issue a jsp:forward to the actionBean and  
then have another JSP that the ActionBean forwards to after it's done
3) have an action bean mapped to your welcome URL and drop a zero- 
length file into your web application that would get served up at  
that URL (except it won't, because the action bean will get invoked).

-t


On Jul 8, 2008, at 12:26 PM, Ken wrote:

> I have a simple project with one jsp (index.jsp) that is controlled  
> by an
> actionBean.  In the bean i set up a selection list .  The problem  
> is that in
> web.xml I use index.jsp as the welcome-file and the bean never gets  
> called to
> set up the list until the user hits the stripes submit button.   
> Meaning no data
> shows in the select box until a user submits then the bean gets  
> Called.  I dont
> remember this being a problem in 1.43 or is there something unique  
> that i need
> to do so that when someone goes to the page the bean automatically  
> gets called
> Ken.
>
>
> ---------------------------------------------------------------------- 
> ---
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to