> The index.jsp is being linked directly from the quickstart index.html page.

Ah well that's the problem then. The tag code needs the actual action
bean to be available as *the* action bean for the transaction.

> I tried adding this to my ActionBean...
>
> public Resolution launch() {
>        return new ForwardResolution("/quickstart/index.jsp");
> }
>
> And I changed the link in the index.html to...
>
> http://localhost:8080/stripes-examples/quickstart/index.jsp?action=launch

The URL should be whatever it is that maps to the action bean URL, and
all you really need is "launch=" as the query string.

Thus if your ActionBean has the URL mapping:

    @UrlBinding("/your/app/action1")

then you'd want

  http://localhost:8080/your/app/action1?launch=

> If it's not too much trouble, can you provide some sample
> ActionBean/JSP code to illustrate how this works?

Well if you've got the sample application, you're pretty close.
However one thing I don't do in my application is allow any
direct-to-JSP links; all my JSP is under WEB-INF, that is.



-- 
Turtle, turtle, on the ground,
Pink and shiny, turn around.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to